This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/xawtv3.git tree:

Subject: Replace sys_siglist with strsignal()
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Thu Jun 29 09:21:57 2023 +0200

This is needed to avoid compilation breakages on modern
systems.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 console/fbtools.c | 2 +-
 console/record.c  | 2 +-
 x11/rootv.c       | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/xawtv3.git/commit/?id=47a81c3ca7ac9b4f0989cccb7961dc4bff52364a
diff --git a/console/fbtools.c b/console/fbtools.c
index 9f876df32dac..07739ff687ec 100644
--- a/console/fbtools.c
+++ b/console/fbtools.c
@@ -520,6 +520,6 @@ fb_catch_exit_signals(void)
 
     /* cleanup */
     fb_cleanup();
-    fprintf(stderr,"Oops: %s\n",sys_siglist[termsig]);
+    fprintf(stderr,"Oops: %s\n",strsignal(termsig));
     exit(42);
 }
diff --git a/console/record.c b/console/record.c
index 685221b4b5ae..90f0c852bb08 100644
--- a/console/record.c
+++ b/console/record.c
@@ -429,7 +429,7 @@ ctrlc(int signal)
 {
     if (verbose)
        fprintf(stderr,"\n%s - exiting\n",
-               sys_siglist[signal]);
+               strsignal(signal));
     stop = 1;
 }
 
diff --git a/x11/rootv.c b/x11/rootv.c
index 60a840641e33..4bf458b227a0 100644
--- a/x11/rootv.c
+++ b/x11/rootv.c
@@ -133,7 +133,7 @@ catch_sig(int signal)
     termsig = signal;
     if (verbose)
        fprintf(stderr,"received signal %d [%s]\n",
-               termsig,sys_siglist[termsig]);
+               termsig,strsignal(termsig));
 }
 
 static void usage(FILE *fp)
@@ -422,7 +422,7 @@ main(int argc, char *argv[])
     }
     if (verbose && termsig)
        fprintf(stderr,"exiting on signal %d [%s]\n",
-               termsig,sys_siglist[termsig]);
+               termsig,strsignal(termsig));
     if (do_mute && have_mute)
        XvSetPortAttribute(dpy,port,XV_MUTE,1);
     XvStopVideo(dpy,port,win);

_______________________________________________
linuxtv-commits mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to