diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-04 19:57:41 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-04 19:57:41 +0100 |
commit | 9f01cda55d519406248fc095667442575b7329f0 (patch) | |
tree | 9533f890cd86b5f1dd612f3ae3c9a5becbdb080a /debian/patches/20_scanadf-SIGCHLD.patch | |
parent | 9d7b3dd818adbeb80fb7274e01be3a2e49f10f4e (diff) |
Many work to make DebSrc3 fit
Diffstat (limited to 'debian/patches/20_scanadf-SIGCHLD.patch')
-rw-r--r-- | debian/patches/20_scanadf-SIGCHLD.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/20_scanadf-SIGCHLD.patch b/debian/patches/20_scanadf-SIGCHLD.patch new file mode 100644 index 0000000..ab91534 --- /dev/null +++ b/debian/patches/20_scanadf-SIGCHLD.patch @@ -0,0 +1,19 @@ +Description: Sets SIGCHLD to SIG_DFL before execle(). +Author: Jakub Wilk <jwilk@debian.org> +Origin: http://www.opengroup.org/onlinepubs/009695399/functions/exec.html +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596232 +Last-Update: 2014-12-03 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/src/scanadf.c +=================================================================== +--- trunk.orig/src/scanadf.c ++++ trunk/src/scanadf.c +@@ -1213,6 +1213,7 @@ scan_it_raw (const char *fname, SANE_Boo + + case 0: + /* in child process */ ++ signal(SIGCHLD, SIG_DFL); + sprintf(cmd, "%s '%s'", script, fname); + /* system(cmd); */ + execle(script, script, fname, NULL, environ); |