diff options
author | Feng Gao <gfree.wind@gmail.com> | 2015-07-08 13:40:50 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2015-07-08 13:53:11 +0530 |
commit | 2e4250225cf894e11c926007698cea8096a372fb (patch) | |
tree | b9e544e969ae95d13f3ee6ea7c3f6a77427e2e9d /posix | |
parent | 808696696837b8b8fc858f2e6f8d4e40e26e1308 (diff) | |
download | glibc-2e4250225cf894e11c926007698cea8096a372fb.tar.gz glibc-2e4250225cf894e11c926007698cea8096a372fb.tar.xz glibc-2e4250225cf894e11c926007698cea8096a372fb.zip |
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.
Diffstat (limited to 'posix')
0 files changed, 0 insertions, 0 deletions