From: Harlan Stenn Date: Wed, 20 Oct 2004 01:26:34 +0000 (-0400) Subject: select() EINTR and mlockall() under linux problem avoidance. X-Git-Tag: NTP_4_2_3~100^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aed5dc187227408b382b105fbd9737672db615ad;p=thirdparty%2Fntp.git select() EINTR and mlockall() under linux problem avoidance. bk: 4175becaN9P42efhxM4DNK3JxF1h3g --- diff --git a/configure.ac b/configure.ac index 280cf8f068..cc2fe3392c 100644 --- a/configure.ac +++ b/configure.ac @@ -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? ;; diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c index af750e1208..781fe1fe10 100644 --- a/ntpd/ntpd.c +++ b/ntpd/ntpd.c @@ -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 */