blob: 2e803640077037578c86b581c227552c806049fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- jfbterm-0.4.7.orig/main.c
+++ jfbterm-0.4.7/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);
}
--- jfbterm-0.4.7.orig/term.h
+++ jfbterm-0.4.7/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 */
|