HomePhabricator

[InstCombine] Fix the signature of fgets_unlocked.

Description

[InstCombine] Fix the signature of fgets_unlocked.

It returns a pointer, not an int. This miscompiles all code that uses
the return value of fgets.

Details

Committed
d0kMay 16 2018, 2:45 PM
Parents
rL332530: [NFC] WebAssembly build fix
Branches
Unknown
Tags
Unknown