CVSROOT: /cvs Module name: src Changes by: ratc...@cvs.openbsd.org 2012/03/29 14:08:22
Modified files: usr.bin/aucat : file.c file.h listen.c pipe.c Log message: Don't spin if accept() fails because it is out of file descriptors, instead set a flag that skips the listening socket from the poll() event loop. The flag is cleared whenever a file descriptor is closed allowing accept() to be retried. Explained by deraadt@