mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
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:
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
|
||||
|
||||
Reference in New Issue
Block a user