summaryrefslogtreecommitdiff
path: root/backend/runloop.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2009-06-26 22:23:28 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2009-06-26 22:23:28 +0000
commit4e6f60f000516756b3d46d42728d5a6c14f1f5fa (patch)
treed3c0351fe82f40f07fcea56e3f6bad51131a5f4a /backend/runloop.c
parentacb056cb175d1a003334c130e8e6bf3aa8edbff2 (diff)
Merge changes from CUPS 1.4svn-r8731 (1.4.0)
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1572 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'backend/runloop.c')
-rw-r--r--backend/runloop.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/backend/runloop.c b/backend/runloop.c
index 5806c953f..fa8825ce2 100644
--- a/backend/runloop.c
+++ b/backend/runloop.c
@@ -196,6 +196,14 @@ backendRunLoop(
signal(SIGTERM, SIG_IGN);
#endif /* HAVE_SIGSET */
}
+ else if (print_fd < 0)
+ {
+ /*
+ * Copy print data from stdin, but don't mess with the signal handlers...
+ */
+
+ print_fd = 0;
+ }
/*
* Figure out the maximum file descriptor value to use with select()...