diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-09-08 19:05:34 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-09-08 19:05:34 +0200 |
commit | 267f9007f6f0142853ba5f99f3f72a58f8fb857f (patch) | |
tree | f3869bbd7e4dcefff0c04a8eff4d3903abdc409d /debian/patches/0125-scanadf-SIGCHLD.patch | |
parent | ac5d58282438345b4d12a24334efcc0299c15165 (diff) |
Rename patches and remove not used debian/patches/scanadf-sigchld.diff
Diffstat (limited to 'debian/patches/0125-scanadf-SIGCHLD.patch')
-rw-r--r-- | debian/patches/0125-scanadf-SIGCHLD.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/0125-scanadf-SIGCHLD.patch b/debian/patches/0125-scanadf-SIGCHLD.patch new file mode 100644 index 0000000..ab91534 --- /dev/null +++ b/debian/patches/0125-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); |