summaryrefslogtreecommitdiff
path: root/comms/echolinux/files/patch-echogui_threadFuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'comms/echolinux/files/patch-echogui_threadFuncs.c')
-rw-r--r--comms/echolinux/files/patch-echogui_threadFuncs.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/comms/echolinux/files/patch-echogui_threadFuncs.c b/comms/echolinux/files/patch-echogui_threadFuncs.c
new file mode 100644
index 000000000000..71acd5264d64
--- /dev/null
+++ b/comms/echolinux/files/patch-echogui_threadFuncs.c
@@ -0,0 +1,18 @@
+--- echogui/threadFuncs.c.orig 2004-02-03 02:28:03 UTC
++++ echogui/threadFuncs.c
+@@ -1,5 +1,6 @@
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <pthread.h>
+ #include <signal.h>
+
+@@ -47,7 +48,7 @@ void destroyApp(void){
+ void sigHandler(int sig){
+
+ // puts("In signal handler");
+- if(sig = SIGINT){
++ if(sig == SIGINT){
+ // puts("It is a SIGINT");
+ destroyApp();
+ exit(0);