]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add missing include files.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 28 Mar 2001 16:55:56 +0000 (16:55 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 28 Mar 2001 16:55:56 +0000 (16:55 +0000)
Add ESC/P2 secret decoder ring.

Updates for Stylus Pro 5500 driver, and fixes for other Stylus Pro
drivers.

Add DSC comments to calibrate output.

Add more debug stuff to IPP code to track down delayed job bug.

Don't set CLASSIFICATION environment variable unless the classification
is set on the server.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@1651 7a7537e8-13f0-0310-91df-b6672ffda945

scheduler/dirsvc.c
scheduler/ipp.c
scheduler/job.c
scheduler/server.c

index 966b019a0e24bb043395c64f4ab4b0a0e93a2040..3128682727c21f9e58abf8dd6fe03ea52b4ba74d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: dirsvc.c,v 1.72 2001/02/21 17:01:17 mike Exp $"
+ * "$Id: dirsvc.c,v 1.73 2001/03/28 16:55:54 mike Exp $"
  *
  *   Directory services routines for the Common UNIX Printing System (CUPS).
  *
@@ -36,6 +36,7 @@
  */
 
 #include "cupsd.h"
+#include <grp.h>
 
 
 /*
@@ -947,5 +948,5 @@ StopPolling(void)
 
 
 /*
- * End of "$Id: dirsvc.c,v 1.72 2001/02/21 17:01:17 mike Exp $".
+ * End of "$Id: dirsvc.c,v 1.73 2001/03/28 16:55:54 mike Exp $".
  */
index ffdbf3a94a73924cb1cd63965abb88196cd115b8..6e073f10aff962939b8d78aaf38fa08c5ebd0b05 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: ipp.c,v 1.124 2001/03/27 14:26:26 mike Exp $"
+ * "$Id: ipp.c,v 1.125 2001/03/28 16:55:54 mike Exp $"
  *
  *   IPP routines for the Common UNIX Printing System (CUPS) scheduler.
  *
@@ -3880,6 +3880,7 @@ print_job(client_t        *con,           /* I - Client connection */
 
   LogMessage(L_INFO, "Job %d queued on \'%s\' by \'%s\'.", job->id,
              job->dest, job->username);
+  LogMessage(L_DEBUG, "Job %d hold_until = %d", job->id, job->hold_until);
 
   SaveJob(job->id);
 
@@ -5338,5 +5339,5 @@ validate_user(client_t   *con,            /* I - Client connection */
 
 
 /*
- * End of "$Id: ipp.c,v 1.124 2001/03/27 14:26:26 mike Exp $".
+ * End of "$Id: ipp.c,v 1.125 2001/03/28 16:55:54 mike Exp $".
  */
index b95b5268d28f41eb62d1e1d7cf860e69c81dad34..69d6c553d99ca67f440d3fe30ad7d60ca2a25c91 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: job.c,v 1.120 2001/03/15 17:48:08 mike Exp $"
+ * "$Id: job.c,v 1.121 2001/03/28 16:55:55 mike Exp $"
  *
  *   Job management routines for the Common UNIX Printing System (CUPS).
  *
@@ -1303,8 +1303,11 @@ StartJob(int       id,           /* I - Job ID */
   snprintf(tmpdir, sizeof(tmpdir), "TMPDIR=%s", TempDir);
   snprintf(datadir, sizeof(datadir), "CUPS_DATADIR=%s", DataDir);
   snprintf(fontpath, sizeof(fontpath), "CUPS_FONTPATH=%s", FontPath);
-  snprintf(classification, sizeof(classification), "CLASSIFICATION=%s",
-           Classification);
+  if (Classification[0])
+    snprintf(classification, sizeof(classification), "CLASSIFICATION=%s",
+             Classification);
+  else
+    classification[0] = '\0';
   if (getenv("LD_LIBRARY_PATH") != NULL)
     snprintf(ldpath, sizeof(ldpath), "LD_LIBRARY_PATH=%s", getenv("LD_LIBRARY_PATH"));
   else
@@ -2791,5 +2794,5 @@ start_process(const char *command,        /* I - Full path to command */
 
 
 /*
- * End of "$Id: job.c,v 1.120 2001/03/15 17:48:08 mike Exp $".
+ * End of "$Id: job.c,v 1.121 2001/03/28 16:55:55 mike Exp $".
  */
index 2f943307fb67c404520672c85178667f1f11caf3..49beebd51a7e5c3481814b3b8d4bd8846bdc8936 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: server.c,v 1.1 2001/02/21 17:01:18 mike Exp $"
+ * "$Id: server.c,v 1.2 2001/03/28 16:55:56 mike Exp $"
  *
  *   Server start/stop routines for the Common UNIX Printing System (CUPS).
  *
@@ -33,6 +33,8 @@
 
 #include "cupsd.h"
 
+#include <grp.h>
+
 #ifdef HAVE_LIBSSL
 #  include <openssl/ssl.h>
 #  include <openssl/rand.h>
@@ -156,5 +158,5 @@ StopServer(void)
 
 
 /*
- * End of "$Id: server.c,v 1.1 2001/02/21 17:01:18 mike Exp $".
+ * End of "$Id: server.c,v 1.2 2001/03/28 16:55:56 mike Exp $".
  */