Use "|" instead of "+" when combine the _IO_LINE_BUF and _IO_UNBUFFERED flags
commit2e4250225cf894e11c926007698cea8096a372fb
authorFeng Gao <gfree.wind@gmail.com>
Wed, 8 Jul 2015 08:10:50 +0000 (8 13:40 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Wed, 8 Jul 2015 08:23:11 +0000 (8 13:53 +0530)
treeb9e544e969ae95d13f3ee6ea7c3f6a77427e2e9d
parent808696696837b8b8fc858f2e6f8d4e40e26e1308
Use "|" instead of "+" when combine the _IO_LINE_BUF and _IO_UNBUFFERED flags

Both of "_IO_UNBUFFERED" and "_IO_LINE_BUF"  are the bit flags, but I
find there are some codes looks like "_IO_LINE_BUF+_IO_UNBUFFERED",
while some codes are "_IO_LINE_BUF|_IO_UNBUFFERED".

I think the former is not good, even though the final result is same.
ChangeLog
libio/fileops.c
libio/oldfileops.c
libio/wfileops.c