jfbterm-0.4.7-sigchld-debian.patch 455 B

1234567891011121314151617181920212223
  1. --- jfbterm-0.4.7.orig/main.c
  2. +++ jfbterm-0.4.7/main.c
  3. @@ -184,7 +184,7 @@
  4. p->gExecShellArgv = NULL;
  5. p->gConfFile = FILE_JFBTERM_CONF;
  6. p->gConfEncoding = NULL;
  7. -
  8. + signal(SIGCHLD, sigchld);
  9. atexit(tapp_final_at_exit);
  10. }
  11. --- jfbterm-0.4.7.orig/term.h
  12. +++ jfbterm-0.4.7/term.h
  13. @@ -44,7 +44,7 @@
  14. } TTerm;
  15. void tterm_start(TTerm* p, const char* tn, const char* en);
  16. -
  17. +void sigchld(int sig);
  18. extern TTerm gTerm;
  19. #endif /* INCLUDE_TERM_H */