-CHANGES.txt - 1.7.1 - 2014-01-08
+CHANGES.txt - 1.7.1 - 2014-01-29
--------------------------------
+CHANGES IN CUPS V1.7.2
+
+ - Fixed some clang-reported issues (<rdar://problem/15936066>)
+
+
CHANGES IN CUPS V1.7.1
- Security: the lppasswd program incorrectly used settings from
-INSTALL - CUPS v1.7.1 - 2014-01-08
+INSTALL - CUPS v1.7.2 - 2014-01-29
----------------------------------
This file describes how to compile and install CUPS from source code. For more
-README - CUPS v1.7.1 - 2014-01-08
+README - CUPS v1.7.2 - 2014-01-29
---------------------------------
Looking for compile instructions? Read the file "INSTALL.txt" instead...
LEGAL STUFF
- CUPS is Copyright 2007-2013 by Apple Inc. CUPS and the CUPS logo are
+ CUPS is Copyright 2007-2014 by Apple Inc. CUPS and the CUPS logo are
trademarks of Apple Inc.
The MD5 Digest code is Copyright 1999 Aladdin Enterprises.
dnl
dnl "$Id: cups-common.m4 8781 2009-08-28 17:34:54Z mike $"
dnl
-dnl Common configuration stuff for CUPS.
+dnl Common configuration stuff for CUPS.
dnl
-dnl Copyright 2007-2013 by Apple Inc.
-dnl Copyright 1997-2007 by Easy Software Products, all rights reserved.
+dnl Copyright 2007-2014 by Apple Inc.
+dnl Copyright 1997-2007 by Easy Software Products, all rights reserved.
dnl
-dnl These coded instructions, statements, and computer programs are the
-dnl property of Apple Inc. and are protected by Federal copyright
-dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
-dnl which should have been included with this file. If this file is
-dnl file is missing or damaged, see the license at "http://www.cups.org/".
+dnl These coded instructions, statements, and computer programs are the
+dnl property of Apple Inc. and are protected by Federal copyright
+dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
+dnl which should have been included with this file. If this file is
+dnl file is missing or damaged, see the license at "http://www.cups.org/".
dnl
dnl We need at least autoconf 2.60...
AC_CONFIG_HEADER(config.h)
dnl Version number information...
-CUPS_VERSION="1.7.1"
+CUPS_VERSION="1.7.2"
CUPS_REVISION=""
#if test -z "$CUPS_REVISION" -a -d .svn; then
# CUPS_REVISION="-r`svnversion . | awk -F: '{print $NF}' | sed -e '1,$s/[[a-zA-Z]]*//g'`"
/*
* "$Id$"
*
- * API definitions for CUPS.
+ * API definitions for CUPS.
*
- * Copyright 2007-2013 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products.
+ * Copyright 2007-2014 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products.
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _CUPS_CUPS_H_
* Constants...
*/
-# define CUPS_VERSION 1.0701
+# define CUPS_VERSION 1.0702
# define CUPS_VERSION_MAJOR 1
# define CUPS_VERSION_MINOR 7
-# define CUPS_VERSION_PATCH 1
+# define CUPS_VERSION_PATCH 2
# define CUPS_BC_FD 3
/* Back-channel file descriptor for
if ((first = (http_addrlist_t *)calloc(1, sizeof(http_addrlist_t))) != NULL)
{
+ addr = first;
first->addr.un.sun_family = AF_LOCAL;
strlcpy(first->addr.un.sun_path, hostname, sizeof(first->addr.un.sun_path));
}
int *preferred_bits,/* O - Preferred bits per color */
const char *code) /* I - PS code to execute */
{
+ int error = 0; /* Error condition? */
_cups_ps_stack_t *st; /* PostScript value stack */
_cups_ps_obj_t *obj; /* Object from top of stack */
char *codecopy, /* Copy of code */
DEBUG_printf(("_cupsRasterExecPS(h=%p, preferred_bits=%p, code=\"%s\")\n",
- h, preferred_bits, code ? code : "(null)"));
+ h, preferred_bits, code));
/*
* Copy the PostScript code and create a stack...
case CUPS_PS_OTHER :
_cupsRasterAddError("Unknown operator \"%s\"!\n", obj->value.other);
+ error = 1;
DEBUG_printf(("_cupsRasterExecPS: Unknown operator \"%s\"!\n",
obj->value.other));
break;
}
- if (obj && obj->type == CUPS_PS_OTHER)
+ if (error)
break;
}