Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usb backend has inverted SIGTERM block #1046

Closed
michaelrsweet opened this issue Jan 5, 2005 · 1 comment
Closed

usb backend has inverted SIGTERM block #1046

michaelrsweet opened this issue Jan 5, 2005 · 1 comment

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.1-current
CUPS.org User: jlovell

As reported to us by Darrell Walker in radr://3933102, the SIGTERM block condition in usb-unix.c is inverted. Here's the fix:

Index: usb-unix.c

RCS file: /home/anoncvs/cups/backend/usb-unix.c,v
retrieving revision 1.8
diff -u -d -b -w -r1.8 usb-unix.c
--- usb-unix.c 3 Jan 2005 19:29:44 -0000 1.8
+++ usb-unix.c 5 Jan 2005 21:27:51 -0000
@@ -140,7 +140,7 @@

  • stdin (otherwise you can't cancel raw jobs...)
    */
  • if (fp)
  • if (!fp)
    {
    #ifdef HAVE_SIGSET /* Use System V signals over POSIX to avoid bugs */
    sigset(SIGTERM, SIG_IGN);

Thanks!

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Thanks, fixed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant