mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
655763a4d8
- Pass maintainership to submitter PR: ports/103173 Submitted by: Scott Flatman <sf at slappy.org>
21 lines
687 B
C++
21 lines
687 B
C++
--- PACC/Util/SignalHandler.cpp.orig Wed Oct 5 06:38:27 2005
|
|
+++ PACC/Util/SignalHandler.cpp Mon Sep 11 16:09:17 2006
|
|
@@ -89,7 +89,7 @@
|
|
//the signal is not defined under Windows, do nothing
|
|
if(inSignalNumber < 1) return;
|
|
if(smOldSigIgn[inSignalNumber] != NULL) return;
|
|
- smOldSigIgn[inSignalNumber] = (void*)signal(inSignalNumber, SIG_IGN);
|
|
+ smOldSigIgn[inSignalNumber] = (void*)signal(inSignalNumber, (void (*)(int))SIG_IGN);
|
|
}
|
|
|
|
/*!
|
|
@@ -126,7 +126,7 @@
|
|
signal(inSignalNumber, (__sighandler_t)smOldSigIgn[inSignalNumber]);
|
|
#endif
|
|
}
|
|
- else signal(inSignalNumber, SIG_DFL);
|
|
+ else signal(inSignalNumber, (void (*)(int))SIG_DFL);
|
|
smOldSigIgn[inSignalNumber] = NULL;
|
|
}
|
|
|