From: mike Date: Fri, 19 Oct 2012 17:44:02 +0000 (+0000) Subject: Remove Unicode char from header. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68ee079a08244ca06b26b70f87aaca5f812c5de3;p=thirdparty%2Fcups.git Remove Unicode char from header. Don't error out on empty print files. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10652 7a7537e8-13f0-0310-91df-b6672ffda945 --- diff --git a/cups/dest-job.c b/cups/dest-job.c index f0792c728f..b094b10759 100644 --- a/cups/dest-job.c +++ b/cups/dest-job.c @@ -15,7 +15,7 @@ * * Contents: * - * cupsCancelDestJob() - Cancel a job on a destination. + * cupsCancelDestJob() - Cancel a job on a destination. * cupsCloseDestJob() - Close a job and start printing. * cupsCreateDestJob() - Create a job on a destination. * cupsFinishDestDocument() - Finish the current document. diff --git a/monitor/tbcp.c b/monitor/tbcp.c index 250a00302d..9ed1e00e77 100644 --- a/monitor/tbcp.c +++ b/monitor/tbcp.c @@ -3,7 +3,7 @@ * * TBCP port monitor for CUPS. * - * Copyright 2007-2010 by Apple Inc. + * Copyright 2007-2012 by Apple Inc. * Copyright 1993-2006 by Easy Software Products. * * These coded instructions, statements, and computer programs are the @@ -93,11 +93,8 @@ main(int argc, /* I - Number of command-line args */ */ linelen = sizeof(line); - if (psgets(line, &linelen, fp) == NULL) - { - fputs("ERROR: Empty print file!\n", stderr); - return (1); - } + if (!psgets(line, &linelen, fp)) + break; /* * Handle leading PJL fun...