From a91a862332a6d5d61aa749a8fd8b87985541a602 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 19 Feb 2024 15:12:41 -0800 Subject: [PATCH] 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 Part-of: --- os/io.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/os/io.c b/os/io.c index 0d3c3119c..9901b00d8 100644 --- a/os/io.c +++ b/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