unifdef SUNSYSV
I can't tell what this code was originally for - it was added in 1988, 4 years before the release of the SysV R4 release of Solaris 2.0, and I can't find anywhere that defined SUNSYSV. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1315>
This commit is contained in:
parent
27b5530107
commit
a91a862332
3
os/io.c
3
os/io.c
|
@ -892,9 +892,6 @@ FlushClient(ClientPtr who, OsCommPtr oc, const void *__extraBuf, int extraCount)
|
|||
todo = notWritten;
|
||||
}
|
||||
else if (ETEST(errno)
|
||||
#ifdef SUNSYSV /* check for another brain-damaged OS bug */
|
||||
|| (errno == 0)
|
||||
#endif
|
||||
#ifdef EMSGSIZE /* check for another brain-damaged OS bug */
|
||||
|| ((errno == EMSGSIZE) && (todo == 1))
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue