[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lib/fbufmode.c
From: |
Tim Rice |
Subject: |
lib/fbufmode.c |
Date: |
Thu, 24 Sep 2020 15:06:40 -0700 (PDT) |
User-agent: |
Alpine 2.11 (UW2 23 2013-08-11) |
This does not look right.
-------
57 #elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1,
Solaris, OpenServer, mingw, MSVC, NonStop Kernel, OpenVMS */
58 # if defined WINDOWS_OPAQUE_FILE
59 if (fp_->_flag & 0x100)
60 return _IOFBF; /* Impossible to distinguish _IOFBF and _IOLBF. */
61 else
62 return _IONBF;
63 # else
64 # if HAVE___FLBF /* Solaris >= 7, UnixWare 7.1.4 >=
MP4 */
65 if (__flbf (fp))
66 return _IOLBF;
67 # else
68 if (fp_->_flag & _IOLBF)
69 return _IOLBF;
70 # endif
71 if (fp_->_flag & _IONBF)
72 return _IONBF;
73 return _IOFBF;
74 # endif
75 #elif defined __UCLIBC__ /* uClibc */
-------
Lines 71 and 72 look like they should not be there since if
there is no __flbf, lines 68 and 69 cover that.
--
Tim Rice Multitalents
tim@multitalents.net
- lib/fbufmode.c,
Tim Rice <=