1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-07 08:45:48 +01:00

Made cvs compilable (it was missing the following directories: WINGs/po

and doc/sk). They were disabled until added to cvs.
This commit is contained in:
dan
2001-07-23 23:57:12 +00:00
parent 882b9a8e1c
commit c28d3d3ff9
4 changed files with 11 additions and 13 deletions

View File

@@ -2,7 +2,7 @@
AUTOMAKE_OPTIONS = no-dependencies
SUBDIRS = WINGs . po Documentation Resources Examples Extras Tests
SUBDIRS = WINGs . Documentation Resources Examples Extras Tests

View File

@@ -352,13 +352,13 @@ getSocketAddress(char* name, char* service, char* protocol) /*FOLD00*/
return &socketaddr;
}
static void
handle_sigpipe(int signum)
dummyHandler(int signum)
{
if (0) signum=0; /* To avoid a gcc warning */
return;
}
static WMConnection*
createConnectionWithSocket(int sock, Bool closeOnRelease) /*FOLD00*/
{
@@ -384,12 +384,11 @@ createConnectionWithSocket(int sock, Bool closeOnRelease) /*FOLD00*/
/* ignore dead pipe */
if (!SigInitialized) {
sig_action.sa_handler = &handle_sigpipe;
/* Because POSIX mandates that only signal with handlers are reset
accross an exec*(), we do not want to propagate ignoring SIGPIPEs
to children. Hence the dummy handler.
Philippe Troin <phil@fifi.org>
*/
/* Because POSIX mandates that only signal with handlers are reset
* accross an exec*(), we do not want to propagate ignoring SIGPIPEs
* to children. Hence the dummy handler. Philippe Troin <phil@fifi.org>
*/
sig_action.sa_handler = &dummyHandler;
sig_action.sa_flags = SA_RESTART;
sigaction(SIGPIPE, &sig_action, NULL);
SigInitialized = True;