]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - cups/patches/cups-driverd-timeout.patch
Move all packages to root.
[people/amarx/ipfire-3.x.git] / cups / patches / cups-driverd-timeout.patch
diff --git a/cups/patches/cups-driverd-timeout.patch b/cups/patches/cups-driverd-timeout.patch
new file mode 100644 (file)
index 0000000..222fb09
--- /dev/null
@@ -0,0 +1,21 @@
+diff -up cups-1.3.7/scheduler/ipp.c.driverd-timeout cups-1.3.7/scheduler/ipp.c
+--- cups-1.3.7/scheduler/ipp.c.driverd-timeout 2008-07-15 13:40:51.000000000 +0100
++++ cups-1.3.7/scheduler/ipp.c 2008-07-15 13:40:51.000000000 +0100
+@@ -4293,7 +4293,7 @@ copy_model(cupsd_client_t *con,          /* I - 
+   close(temppipe[1]);
+  /*
+-  * Wait up to 30 seconds for the PPD file to be copied...
++  * Wait up to 70 seconds for the PPD file to be copied...
+   */
+   total = 0;
+@@ -4315,7 +4315,7 @@ copy_model(cupsd_client_t *con,          /* I - 
+     FD_SET(temppipe[0], &input);
+     FD_SET(CGIPipes[0], &input);
+-    timeout.tv_sec  = 30;
++    timeout.tv_sec  = 70;
+     timeout.tv_usec = 0;
+     if ((i = select(maxfd, &input, NULL, NULL, &timeout)) < 0)