]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/runloop.c
Merge changes from CUPS 1.4svn-r8731 (1.4.0)
[thirdparty/cups.git] / backend / runloop.c
index 5806c953f25e74358ca47c1d6bd0feecfc35d9ea..fa8825ce29aafa122679438a39d936e392cf065d 100644 (file)
@@ -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()...