Your message dated Sat, 26 Feb 2005 03:32:06 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#296222: fixed in cupsys 1.1.23-6
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Feb 2005 06:06:00 +0000
>From [EMAIL PROTECTED] Sun Feb 20 22:06:00 2005
Return-path: <[EMAIL PROTECTED]>
Received: from 213-84-114-29.adsl.xs4all.nl (tofu.mamane.lu) [213.84.114.29] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D36hg-00031D-00; Sun, 20 Feb 2005 22:05:56 -0800
Received: from master by tofu.mamane.lu with local (Exim 4.34)
        id 1D36he-0007FM-OK; Mon, 21 Feb 2005 07:05:54 +0100
Date: Mon, 21 Feb 2005 07:05:54 +0100
From: Lionel Elie Mamane <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: cupsys: parallel backend abandons on signal
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="cNdxnHkX5QqsyA0e"
Content-Disposition: inline
X-Reportbug-Version: 3.2
X-Operating-System: GNU/Linux
X-Request-PGP: http://www.mamane.lu/openpgp/dh4096.asc
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--cNdxnHkX5QqsyA0e
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: cupsys
Version: 1.1.23-5
Severity: normal
Tags: patch

The parallel backends aborts printing if it gets a signal while in a
read() or write() system call.

-- System Information:
Debian Release: 3.0
  APT prefers testing
  APT policy: (300, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages cupsys depends on:
ii  adduser                     3.47         Add and remove users and groups
pn  cupsys-pstoraster                        Not found.
ii  debconf                     1.4.30.11    Debian configuration management sy
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
pn  libcupsys2                               Not found.
ii  libpam0g                    0.76-22      Pluggable Authentication Modules l
ii  libslp1                     1.0.8a-2     OpenSLP libraries
ii  libstdc++2.10-glibc2.2      1:2.95.4-22  The GNU stdc++ library
ii  zlib1g                      1:1.2.2-3    compression library - runtime

--cNdxnHkX5QqsyA0e
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="parallel_signal.patch"

diff --recursive -u cupsys-1.1.23/backend/parallel.c 
cupsys-1.1.23.lio/backend/parallel.c
--- cupsys-1.1.23/backend/parallel.c    2005-01-03 20:29:44.000000000 +0100
+++ cupsys-1.1.23.lio/backend/parallel.c        2005-02-21 06:55:31.000000000 
+0100
@@ -258,8 +258,23 @@
     }
 
     tbytes = 0;
-    while ((nbytes = read(fp, buffer, sizeof(buffer))) > 0)
+    while (-1)
     {
+
+      nbytes = read(fp, buffer, sizeof(buffer));
+
+      if (nbytes == 0)
+       /* End of file reached */
+       break;
+
+      if (nbytes < 0)
+       if (errno == EINTR)
+        /* Interrupted by signal; try again */
+         continue;
+       else
+        /* Other error; abort */
+         break;
+
      /*
       * Write the print data to the printer...
       */
@@ -274,10 +289,14 @@
            wbytes = write(fd, bufptr, nbytes);
 
        if (wbytes < 0)
-       {
-         perror("ERROR: Unable to send print file to printer");
-         break;
-       }
+         if (errno == EINTR)
+           /* Just try again */
+           continue;
+         else
+           {
+             perror("ERROR: Unable to send print file to printer");
+             break;
+           }
 
        nbytes -= wbytes;
        bufptr += wbytes;
diff --recursive -u cupsys-1.1.23/debian/changelog 
cupsys-1.1.23.lio/debian/changelog
--- cupsys-1.1.23/debian/changelog      2005-02-21 06:48:57.000000000 +0100
+++ cupsys-1.1.23.lio/debian/changelog  2005-02-21 06:57:16.000000000 +0100
@@ -1,3 +1,9 @@
+cupsys (1.1.23-4.0) unstable; urgency=low
+
+  * parallel backend: don't abort on signal
+
+ -- Lionel Elie Mamane <[EMAIL PROTECTED]>  Mon, 21 Feb 2005 06:50:36 +0100
+
 cupsys (1.1.23-4) unstable; urgency=low
 
   * 20defaultport.patch is merged in upstream source.
@@ -1223,6 +1229,3 @@
 
  -- Jeff Licquia <[EMAIL PROTECTED]>  Sun,  6 Nov 1999 20:58:02 -0500
 
-Local variables:
-mode: debian-changelog
-End:

--cNdxnHkX5QqsyA0e--

---------------------------------------
Received: (at 296222-close) by bugs.debian.org; 26 Feb 2005 08:38:02 +0000
>From [EMAIL PROTECTED] Sat Feb 26 00:38:02 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D4xSc-00077O-00; Sat, 26 Feb 2005 00:38:02 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1D4xMs-0001CJ-00; Sat, 26 Feb 2005 03:32:06 -0500
From: Kenshi Muto <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#296222: fixed in cupsys 1.1.23-6
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sat, 26 Feb 2005 03:32:06 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: cupsys
Source-Version: 1.1.23-6

We believe that the bug you reported is fixed in the latest version of
cupsys, which is due to be installed in the Debian FTP archive:

cupsys-bsd_1.1.23-6_i386.deb
  to pool/main/c/cupsys/cupsys-bsd_1.1.23-6_i386.deb
cupsys-client_1.1.23-6_i386.deb
  to pool/main/c/cupsys/cupsys-client_1.1.23-6_i386.deb
cupsys_1.1.23-6.diff.gz
  to pool/main/c/cupsys/cupsys_1.1.23-6.diff.gz
cupsys_1.1.23-6.dsc
  to pool/main/c/cupsys/cupsys_1.1.23-6.dsc
cupsys_1.1.23-6_i386.deb
  to pool/main/c/cupsys/cupsys_1.1.23-6_i386.deb
libcupsimage2-dev_1.1.23-6_i386.deb
  to pool/main/c/cupsys/libcupsimage2-dev_1.1.23-6_i386.deb
libcupsimage2_1.1.23-6_i386.deb
  to pool/main/c/cupsys/libcupsimage2_1.1.23-6_i386.deb
libcupsys2-dev_1.1.23-6_i386.deb
  to pool/main/c/cupsys/libcupsys2-dev_1.1.23-6_i386.deb
libcupsys2-gnutls10_1.1.23-6_i386.deb
  to pool/main/c/cupsys/libcupsys2-gnutls10_1.1.23-6_i386.deb
libcupsys2_1.1.23-6_all.deb
  to pool/main/c/cupsys/libcupsys2_1.1.23-6_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kenshi Muto <[EMAIL PROTECTED]> (supplier of updated cupsys package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 26 Feb 2005 08:07:39 +0000
Source: cupsys
Binary: cupsys-bsd libcupsys2-dev libcupsys2 cupsys libcupsys2-gnutls10 
libcupsimage2-dev libcupsimage2 cupsys-client
Architecture: source i386 all
Version: 1.1.23-6
Distribution: unstable
Urgency: medium
Maintainer: Kenshi Muto <[EMAIL PROTECTED]>
Changed-By: Kenshi Muto <[EMAIL PROTECTED]>
Description: 
 cupsys     - Common UNIX Printing System(tm) - server
 cupsys-bsd - Common UNIX Printing System(tm) - BSD commands
 cupsys-client - Common UNIX Printing System(tm) - client programs (SysV)
 libcupsimage2 - Common UNIX Printing System(tm) - image libs
 libcupsimage2-dev - Common UNIX Printing System(tm) - image development files
 libcupsys2 - Common UNIX Printing System(tm) - dummy libs for transition
 libcupsys2-dev - Common UNIX Printing System(tm) - development files
 libcupsys2-gnutls10 - Common UNIX Printing System(tm) - libs
Closes: 296222 296223 296849
Changes: 
 cupsys (1.1.23-6) unstable; urgency=medium
 .
   * Fix missing adduser dependency in cupsys-client. (closes: #296849)
   * Apply parallel backend improvement patch.
     - don't receive signal during writing (closes: #296222)
     - fix 64bit problem (closes: #296223)
Files: 
 fa8270c6a33943ba729a1d060c53367b 819 net optional cupsys_1.1.23-6.dsc
 8f1ba4004096c3c48a6e05dde4bee1cc 1273807 net optional cupsys_1.1.23-6.diff.gz
 25957ecf14afe64198bfc060c82d950f 964 libs optional libcupsys2_1.1.23-6_all.deb
 43097a234559547e2d62bbc2b278ba48 8935420 net optional cupsys_1.1.23-6_i386.deb
 f6a955828fd1d24a0dd588f2ffedc250 91402 net optional 
cupsys-client_1.1.23-6_i386.deb
 ae75e013e52eba21b10b27e1a581936c 74426 libs optional 
libcupsys2-gnutls10_1.1.23-6_i386.deb
 94284626025f2b03ce5357303c3fe38c 85204 libdevel optional 
libcupsys2-dev_1.1.23-6_i386.deb
 9b3588c365ae141091e49748ad9a776d 35522 libs optional 
libcupsimage2_1.1.23-6_i386.deb
 9ffbbffc4ca828d47fcee030da61bb01 45888 libdevel optional 
libcupsimage2-dev_1.1.23-6_i386.deb
 4a798649df8de67415c4b0554b606c45 40880 net extra cupsys-bsd_1.1.23-6_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iEYEARECAAYFAkIgMMYACgkQQKW+7XLQPLGXmgCfVd1x/c4vVDAF7rCi/O197ZFR
MPsAn1pvN6CIlcDpyVsiHHXNSBD1VkBd
=ghKB
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to