[Git][NTPsec/ntpsec][master] EAGAIN is POSIX.1-2001, and not conditionalized elsewhere.

Eric S. Raymond gitlab at mg.gitlab.com
Wed Aug 1 09:55:48 UTC 2018


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
7dfd651f by Eric S. Raymond at 2018-08-01T09:55:20Z
EAGAIN is POSIX.1-2001, and not conditionalized elsewhere.

- - - - -


1 changed file:

- ntpd/ntp_io.c


Changes:

=====================================
ntpd/ntp_io.c
=====================================
@@ -2211,9 +2211,7 @@ read_network_packet(
 
 	if (buflen == 0 || (buflen == -1 &&
 			    ((EWOULDBLOCK == errno)
-#ifdef EAGAIN
 			     || (EAGAIN == errno)
-#endif
 	     ))) {
 		freerecvbuf(rb);
 		return (buflen);



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/7dfd651f8e3349dc8dddd86dc580b1402396896c

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/7dfd651f8e3349dc8dddd86dc580b1402396896c
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20180801/8705d09f/attachment.html>


More information about the vc mailing list