Subject: CVS commit: src/usr.sbin/lpr/lpd
To: None <source-changes@NetBSD.org>
From: Tim Rightnour <garbled@netbsd.org>
List: source-changes
Date: 01/18/2006 23:17:38
Module Name: src
Committed By: garbled
Date: Wed Jan 18 23:17:38 UTC 2006
Modified Files:
src/usr.sbin/lpr/lpd: lpd.c
Log Message:
If we set SIGCHLD to SIG_IGN then any wait()'s on the child processes will
return -1. This causes filters to fail because we get a value for
child_pid we weren't expecting. Set SIGCHLD to SIG_DFL instead to clear
the reapchild setting when forking the child lpd.
To generate a diff of this commit:
cvs rdiff -r1.53 -r1.54 src/usr.sbin/lpr/lpd/lpd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.