]> git.deb.at Git - pkg/beep.git/blobdiff - debian/patches/catch-sig-term
CVE-2018-0492
[pkg/beep.git] / debian / patches / catch-sig-term
index 8db0677d16a09f892b322317f82e3a020c128123..85fb67b23b612f63433a84c625344b6fef0f9479 100644 (file)
@@ -1,11 +1,9 @@
 Author: Jérôme <jerome@jolimont.fr>
 Description: also catch SIGTERM for stopping the beep
 
-Index: VCS/beep.c
-===================================================================
---- VCS.orig/beep.c    2012-06-10 10:03:39.000000000 +0200
-+++ VCS/beep.c 2012-06-10 10:03:59.000000000 +0200
-@@ -127,6 +127,7 @@
+--- beep-1.3.orig/beep.c
++++ beep-1.3/beep.c
+@@ -127,6 +127,7 @@ void handle_signal(int signum) {
  
    switch(signum) {
    case SIGINT:
@@ -13,7 +11,7 @@ Index: VCS/beep.c
      if(console_fd >= 0) {
        /* Kill the sound, quit gracefully */
        do_beep(0);
-@@ -321,6 +322,7 @@
+@@ -321,6 +322,7 @@ int main(int argc, char **argv) {
    parms->next       = NULL;
  
    signal(SIGINT, handle_signal);