Skip to content

Commit

Permalink
Import CUPS v2.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Sweet committed Mar 15, 2016
1 parent a215cf8 commit 00d0ae8
Show file tree
Hide file tree
Showing 24 changed files with 459 additions and 276 deletions.
16 changes: 15 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
CHANGES.txt - 2.0.3 - 2015-06-08
CHANGES.txt - 2.0.4 - 2015-07-31
--------------------------------

CHANGES IN CUPS V2.0.4

- Fixed a bug in cupsRasterWritePixels (STR #4650)
- Fixed redirection in the web interface (STR #4538)
- The IPP backend did not respond to side-channel requests (STR #4645)
- The scheduler did not start all pending jobs at once (STR #4646)
- The web search incorrectly searched time-at-xxx values (STR #4652)
- Fixed an RPM spec file issue (STR #4657)
- The scheduler incorrectly started jobs while canceling multiple jobs
(STR #4648)
- Fixed processing of server overrides without port numbers (STR #4675)
- Documentation changes (STR #4651, STR #4674)


CHANGES IN CUPS V2.0.3

- Security: Fixed CERT VU #810572 exploiting the dynamic linker
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
INSTALL - CUPS v2.0.3 - 2015-06-08
INSTALL - CUPS v2.0.4 - 2015-07-31
----------------------------------

This file describes how to compile and install CUPS from source code. For more
Expand Down
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
README - CUPS v2.0.3 - 2015-06-08
README - CUPS v2.0.4 - 2015-07-31
---------------------------------

Looking for compile instructions? Read the file "INSTALL.txt" instead...
Expand Down
5 changes: 3 additions & 2 deletions backend/ipp.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* "$Id: ipp.c 12624 2015-05-06 23:50:20Z msweet $"
* "$Id: ipp.c 12759 2015-06-24 20:06:30Z msweet $"
*
* IPP backend for CUPS.
*
Expand Down Expand Up @@ -1562,6 +1562,7 @@ main(int argc, /* I - Number of command-line args */
FD_ZERO(&input);
FD_SET(fd, &input);
FD_SET(snmp_fd, &input);
FD_SET(CUPS_SC_FD, &input);

while (select(fd > snmp_fd ? fd + 1 : snmp_fd + 1, &input, NULL, NULL,
NULL) <= 0 && !job_canceled);
Expand Down Expand Up @@ -3769,5 +3770,5 @@ update_reasons(ipp_attribute_t *attr, /* I - printer-state-reasons or NULL */
}

/*
* End of "$Id: ipp.c 12624 2015-05-06 23:50:20Z msweet $".
* End of "$Id: ipp.c 12759 2015-06-24 20:06:30Z msweet $".
*/
7 changes: 5 additions & 2 deletions cgi-bin/ipp-var.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* "$Id: ipp-var.c 12701 2015-06-08 18:33:44Z msweet $"
* "$Id: ipp-var.c 12769 2015-06-30 16:13:48Z msweet $"
*
* CGI <-> IPP variable routines for CUPS.
*
Expand Down Expand Up @@ -222,6 +222,9 @@ cgiGetIPPObjects(ipp_t *response, /* I - IPP response */
break;

case IPP_TAG_INTEGER :
if (!strncmp(ippGetName(attr), "time-at-", 8))
break; /* Ignore time-at-xxx */

for (i = 0; !add && i < attr->num_values; i ++)
{
char buf[255]; /* Number buffer */
Expand Down Expand Up @@ -1547,5 +1550,5 @@ cgiText(const char *message) /* I - Message */


/*
* End of "$Id: ipp-var.c 12701 2015-06-08 18:33:44Z msweet $".
* End of "$Id: ipp-var.c 12769 2015-06-30 16:13:48Z msweet $".
*/
2 changes: 1 addition & 1 deletion config-scripts/cups-common.m4
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dnl Set the name of the config header file...
AC_CONFIG_HEADER(config.h)

dnl Version number information...
CUPS_VERSION=2.0.3
CUPS_VERSION=2.0.4
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'`"
Expand Down
13 changes: 11 additions & 2 deletions config-scripts/cups-compiler.m4
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dnl
dnl "$Id: cups-compiler.m4 12122 2014-08-28 12:55:52Z msweet $"
dnl "$Id: cups-compiler.m4 12743 2015-06-23 14:49:09Z msweet $"
dnl
dnl Compiler stuff for CUPS.
dnl
Expand Down Expand Up @@ -156,6 +156,15 @@ if test -n "$GCC"; then
# Add useful warning options for tracking down problems...
OPTIM="-Wall -Wno-format-y2k -Wunused $OPTIM"

AC_MSG_CHECKING(whether compiler supports -Wno-unused-result)
OLDCFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Werror -Wno-unused-result"
AC_TRY_COMPILE(,,
[OPTIM="$OPTIM -Wno-unused-result"
AC_MSG_RESULT(yes)],
AC_MSG_RESULT(no))
CFLAGS="$OLDCFLAGS"

AC_MSG_CHECKING(whether compiler supports -Wsign-conversion)
OLDCFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Werror -Wsign-conversion"
Expand Down Expand Up @@ -237,5 +246,5 @@ case $uname in
esac

dnl
dnl End of "$Id: cups-compiler.m4 12122 2014-08-28 12:55:52Z msweet $".
dnl End of "$Id: cups-compiler.m4 12743 2015-06-23 14:49:09Z msweet $".
dnl
Loading

0 comments on commit 00d0ae8

Please sign in to comment.