From: mike Date: Wed, 1 Mar 2000 21:55:50 +0000 (+0000) Subject: Misc changes. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b4f824ac3e2d91331bad44cc2d60cd12b020057;p=thirdparty%2Fcups.git Misc changes. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@946 7a7537e8-13f0-0310-91df-b6672ffda945 --- diff --git a/configure.in b/configure.in index cba1e07a6c..e7c18367b8 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl -dnl "$Id: configure.in,v 1.32 2000/02/29 14:47:27 mike Exp $" +dnl "$Id: configure.in,v 1.33 2000/03/01 21:55:48 mike Exp $" dnl dnl Configuration script for the Common UNIX Printing System (CUPS). dnl @@ -200,7 +200,7 @@ AC_CHECK_FUNCS(waitpid) AC_CHECK_FUNCS(wait3) dnl Update compiler options... -if test -n "$GXX"; then +if test -n "$GCC"; then if test -z "$OPTIM"; then OPTIM="-O2 -g3" fi @@ -346,5 +346,5 @@ AC_SUBST(CUPS_DOCDIR) AC_OUTPUT(Makedefs) dnl -dnl End of "$Id: configure.in,v 1.32 2000/02/29 14:47:27 mike Exp $". +dnl End of "$Id: configure.in,v 1.33 2000/03/01 21:55:48 mike Exp $". dnl diff --git a/scheduler/ipp.c b/scheduler/ipp.c index 3930dcb5c0..82bef9cd57 100644 --- a/scheduler/ipp.c +++ b/scheduler/ipp.c @@ -1,5 +1,5 @@ /* - * "$Id: ipp.c,v 1.54 2000/02/25 03:00:54 mike Exp $" + * "$Id: ipp.c,v 1.55 2000/03/01 21:55:49 mike Exp $" * * IPP routines for the Common UNIX Printing System (CUPS) scheduler. * @@ -2187,6 +2187,8 @@ get_printer_attrs(client_t *con, /* I - Client connection */ DEBUG_printf(("get_printer_attrs(%08x, %08x)\n", con, uri)); + LogMessage(L_DEBUG, "get_printer_attrs(%08x, \"%s\")\n", con, + uri->values[0].string.text); /* * Is the destination valid? @@ -3958,5 +3960,5 @@ validate_job(client_t *con, /* I - Client connection */ /* - * End of "$Id: ipp.c,v 1.54 2000/02/25 03:00:54 mike Exp $". + * End of "$Id: ipp.c,v 1.55 2000/03/01 21:55:49 mike Exp $". */ diff --git a/systemv/lp.c b/systemv/lp.c index 9972b9b516..110c63bae6 100644 --- a/systemv/lp.c +++ b/systemv/lp.c @@ -1,5 +1,5 @@ /* - * "$Id: lp.c,v 1.18 2000/02/28 19:17:46 mike Exp $" + * "$Id: lp.c,v 1.19 2000/03/01 21:55:50 mike Exp $" * * "lp" command for the Common UNIX Printing System (CUPS). * @@ -216,6 +216,9 @@ main(int argc, /* I - Number of command-line arguments */ if (printer == NULL) { + if (num_dests == 0) + num_dests = cupsGetDests(&dests); + for (j = 0, dest = dests; j < num_dests; j ++, dest ++) if (dest->is_default) { @@ -268,6 +271,9 @@ main(int argc, /* I - Number of command-line arguments */ { if (printer == NULL) { + if (num_dests == 0) + num_dests = cupsGetDests(&dests); + for (j = 0, dest = dests; j < num_dests; j ++, dest ++) if (dest->is_default) { @@ -371,5 +377,5 @@ sighandler(int s) /* I - Signal number */ /* - * End of "$Id: lp.c,v 1.18 2000/02/28 19:17:46 mike Exp $". + * End of "$Id: lp.c,v 1.19 2000/03/01 21:55:50 mike Exp $". */