Signal handling and error_log messages

Bill Marr billm at tharo.com
Wed Mar 14 11:39:25 PDT 2007


Michael,

   Thanks for the reply  :)

   I'm using cups-1.2.7, which I downloaded from the CUPS site (cups-1.2.7-source.tar.gz), and installed via the usual ./configure / make / make install routine. Also, I downloaded the 1.1 version of the DDK (cupsddk-1.1) from the CUPS site. What's interesting is that output to stdout after handling SIGTERM seems ok, it's just output to stderr, so I'm not sure what I might be doing wrong. I realize that these forums aren't for learning how write C programs under GNU/Linux, and I may have to seek help in other forums, so if you can't help, I understand. I was curious to know if the CUPS scheduler possibly stops outputting data to stderr from a filter once the user cancels a job, therefore, my filter's output to stderr is simply routed to /dev/nul or something? Still investigating this; any insight would be appreciated.

   Thanks,

      Bill





More information about the cups mailing list