]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
select() EINTR and mlockall() under linux problem avoidance.
authorHarlan Stenn <stenn@ntp.org>
Wed, 20 Oct 2004 01:26:34 +0000 (21:26 -0400)
committerHarlan Stenn <stenn@ntp.org>
Wed, 20 Oct 2004 01:26:34 +0000 (21:26 -0400)
bk: 4175becaN9P42efhxM4DNK3JxF1h3g

configure.ac
ntpd/ntpd.c

index 280cf8f06895c02abe900e3b08e6ef3efc7614e9..cc2fe3392c5c13e6f3b81f628ad938cd71677127 100644 (file)
@@ -831,6 +831,9 @@ case "$host" in
  *-*-irix[[45]]*)
     # Just a stub in "old" Irix.  Idiots.
     ;;
+ *-*-linux*)
+    # Apparently there but not working.  Idiots?
+    ;;
  *-*-qnx*)
     # Apparently there but not working in QNX.  Idiots?
     ;;
index af750e1208a7d056823c8f1823f97e32e8040370..781fe1fe106c80e5c9ad2815ebc431ffc24c4947 100644 (file)
@@ -1052,7 +1052,7 @@ getgroup:
                        else if (nfound == -1 && errno != EINTR)
                                msyslog(LOG_ERR, "select() error: %m");
 #  ifdef DEBUG
-                       else if (debug > 2)
+                       else if (debug > 5)
                                msyslog(LOG_DEBUG, "select(): nfound=%d, error: %m", nfound);
 #  endif /* DEBUG */
 # else /* HAVE_SIGNALED_IO */