xserver: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Feb 20 00:16:53 UTC 2024


 os/io.c |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit a91a862332a6d5d61aa749a8fd8b87985541a602
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Mon Feb 19 15:12:41 2024 -0800

    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 at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1315>

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


More information about the xorg-commit mailing list