lists.arthurdejong.org
RSS feed

cvsd commit: MODIFIED: . ...

[Date Prev][Date Next] [Thread Prev][Thread Next]

cvsd commit: MODIFIED: . ...



User: arthur
Date: 10/12/23 17:44:51

Modified:    . cvsd.c
Log:
don't log EINTR on select() any more, not even in debug mode because it scares 
the users


Revision  Changes    Path
1.123     +1 -4      cvsd/cvsd.c

Index: cvsd.c
===================================================================
RCS file: /home/arthur/devel/repos/cvsd/cvsd.c,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -b -r1.122 -r1.123
--- cvsd.c      8 Sep 2010 19:46:04 -0000       1.122
+++ cvsd.c      23 Dec 2010 16:44:51 -0000      1.123
@@ -553,10 +553,7 @@
   if (select(max,&fds,NULL,NULL,NULL)<0)
   {
     if (errno==EINTR)
-    {
-      log_log(LOG_DEBUG,"debug: select() failed (ignored): 
%s",strerror(errno));
-      return;
-    }
+      return; /* ignore, this happens all the time */
     log_log(LOG_ERR,"select() failed: %s",strerror(errno));
     exit(1);
   }


--
To unsubscribe send an email to
cvsd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/cvsd-commits