You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-i18n/jfbterm/files/jfbterm-sigchld-debian.patch

23 lines
397 B

--- a/main.c
+++ b/main.c
@@ -184,7 +184,7 @@
p->gExecShellArgv = NULL;
p->gConfFile = FILE_JFBTERM_CONF;
p->gConfEncoding = NULL;
-
+ signal(SIGCHLD, sigchld);
atexit(tapp_final_at_exit);
}
--- a/term.h
+++ b/term.h
@@ -44,7 +44,7 @@
} TTerm;
void tterm_start(TTerm* p, const char* tn, const char* en);
-
+void sigchld(int sig);
extern TTerm gTerm;
#endif /* INCLUDE_TERM_H */