* restart code, so that subsequent SIGHUPs are able to set it
* again and cause a new restart. This fixes a race condition
* when somebody sends tons of HUP signals.
+ * Thu May 24 15:24:49 CEST 2007: Martin Schulze <joey@infodrom.org>
+ * Ignore errors caused by filled up disks so that the log
+ * continues to be written as soon as space becomes available
+ * again.
*/
if (f->f_type == F_PIPE && e == EAGAIN)
break;
+ /* If the filesystem is filled up, just ignore
+ it for now and continue writing when
+ possible */
+ if (f->f_type == F_FILE && e == ENOSPC)
+ break;
+
(void) close(f->f_file);
/*
* Check for EBADF on TTY's due to vhangup() XXX