From f7dbe387b9c713897f9f86bf0238c79e26178a9b Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Fri, 26 Oct 2001 12:00:00 -0400 Subject: [PATCH] Application of mopd-2.5.3-select.patch: * Fri Oct 26 2001 Maciej W. Rozycki - updated the proto, select, aout and syslog patches due to file location rearrangements (proto, select, aout, syslog) * Sat Feb 5 2000 Maciej W. Rozycki - fixed select() invocations (select) Downloaded from: ftp://ftp.linux-mips.org/pub/linux/mips/people/macro/mopd/mopd-2.5.3-select.patch.gz .patch SHA256 = 7d0dc4f8c64211edf8cbc2bf500e7742d3226b4c1fcdb0f13b0babcd381e36a9 Patch history copied from: ftp://ftp.linux-mips.org/pub/linux/mips/people/macro/mopd/mopd-2.5.3-15.spec --- common/loop-bsd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/loop-bsd.c b/common/loop-bsd.c index fe23a9d..f0929d0 100644 --- a/common/loop-bsd.c +++ b/common/loop-bsd.c @@ -141,8 +141,8 @@ Loop() } while (1) { listeners = fds; - if (select(maxfd + 1, &listeners, (struct fd_set *) 0, - (struct fd_set *) 0, (struct timeval *) 0) < 0) { + if (select(maxfd + 1, &listeners, (fd_set *) 0, + (fd_set *) 0, (struct timeval *) 0) < 0) { syslog(LOG_ERR, "select: %m"); exit(0); }