Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/comms/echolinux/files/patch-echogui_threadFuncs.c
16461 views
1
--- echogui/threadFuncs.c.orig 2004-02-03 02:28:03 UTC
2
+++ echogui/threadFuncs.c
3
@@ -1,5 +1,6 @@
4
#include <stdio.h>
5
#include <stdlib.h>
6
+#include <string.h>
7
#include <pthread.h>
8
#include <signal.h>
9
10
@@ -47,7 +48,7 @@ void destroyApp(void){
11
void sigHandler(int sig){
12
13
// puts("In signal handler");
14
- if(sig = SIGINT){
15
+ if(sig == SIGINT){
16
// puts("It is a SIGINT");
17
destroyApp();
18
exit(0);
19
20