Jakub Wilk <jw...@debian.org> wrote:

Hi,

> scanadf sets SIGCHLD to SIG_IGN just before calling fork() and
> execle().  This action will be inherited by child processes on Linux
> and Hurd systems (though, apparently, not on kFreeBSD). This is
> certainly undesired behaviour, and breaks every program that expect
> this signal action to be set reasonably at startup (e.g. Python
> programs using the subprocess module).

Such programs are broken already; if you require some specific
behaviour, you have to take the steps to ensure your environment is set
up to your expectations.

ISTR seeing this discussed as a Python bug.

That being said, the patch looks good.

> The attached (untested) patch should fix this bug.

Have you actually run into an issue with the current behaviour? If so,
I'd really like it if you could test the patch :)

By the way, scanadf is mostly deprecated these days, as scanimage can
pretty much act as a replacement.

JB.

-- 
 Julien BLACHE - Debian & GNU/Linux Developer - <jbla...@debian.org> 
 
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to