1
0

patch-x11_rootv_c 666 B

1234567891011121314151617181920
  1. --- xawtv-3.102.orig/x11/rootv.c 2011-09-05 19:26:02.000000000 +0200
  2. +++ xawtv-3.102/x11/rootv.c 2011-09-26 21:12:26.549340070 +0200
  3. @@ -133,7 +133,7 @@ catch_sig(int signal)
  4. termsig = signal;
  5. if (verbose)
  6. fprintf(stderr,"received signal %d [%s]\n",
  7. - termsig,sys_siglist[termsig]);
  8. + termsig,strsignal(termsig));
  9. }
  10. static void usage(FILE *fp)
  11. @@ -422,7 +422,7 @@ main(int argc, char *argv[])
  12. }
  13. if (verbose && termsig)
  14. fprintf(stderr,"exiting on signal %d [%s]\n",
  15. - termsig,sys_siglist[termsig]);
  16. + termsig,strsignal(termsig));
  17. if (do_mute && have_mute)
  18. XvSetPortAttribute(dpy,port,XV_MUTE,1);
  19. XvStopVideo(dpy,port,win);