remove obfuscated flags bit-twiddling logic in __stdio_read
authorRich Felker <dalias@aerifal.cx>
Sat, 24 Feb 2018 15:43:13 +0000 (10:43 -0500)
committerRich Felker <dalias@aerifal.cx>
Sat, 24 Feb 2018 15:43:13 +0000 (10:43 -0500)
commit9bf9c732f9d39d691e1f8841e7204c9c26321946
tree9f648f8553e26b6e6e4a928bd36d3add2c449964
parentb123f2395266a44176e49cee251fb776e97f26e1
remove obfuscated flags bit-twiddling logic in __stdio_read

replace with simple conditional that doesn't rely on assumption that
cnt is either 0 or -1.
src/stdio/__stdio_read.c