mirror of
https://github.com/dreamlayers/netbsd-mopd.git
synced 2026-02-26 16:43:25 +00:00
Application of mopd-2.5.3-select.patch:
* Fri Oct 26 2001 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - updated the proto, select, aout and syslog patches due to file location rearrangements (proto, select, aout, syslog) * Sat Feb 5 2000 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - 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
This commit is contained in:
committed by
Boris Gjenero
parent
4e04785b17
commit
f7dbe387b9
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user