From c28d3d3ff949f89f5565036163369fedacb208ac Mon Sep 17 00:00:00 2001 From: dan Date: Mon, 23 Jul 2001 23:57:12 +0000 Subject: [PATCH] Made cvs compilable (it was missing the following directories: WINGs/po and doc/sk). They were disabled until added to cvs. --- WINGs/Makefile.am | 2 +- WINGs/connection.c | 17 ++++++++--------- configure.in | 3 +-- doc/Makefile.am | 2 +- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/WINGs/Makefile.am b/WINGs/Makefile.am index d4899e8b..62896209 100644 --- a/WINGs/Makefile.am +++ b/WINGs/Makefile.am @@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = no-dependencies -SUBDIRS = WINGs . po Documentation Resources Examples Extras Tests +SUBDIRS = WINGs . Documentation Resources Examples Extras Tests diff --git a/WINGs/connection.c b/WINGs/connection.c index 8f2330e7..e83a72c3 100644 --- a/WINGs/connection.c +++ b/WINGs/connection.c @@ -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 - */ + /* 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 + */ + sig_action.sa_handler = &dummyHandler; sig_action.sa_flags = SA_RESTART; sigaction(SIGPIPE, &sig_action, NULL); SigInitialized = True; diff --git a/configure.in b/configure.in index 4064330f..747e17e9 100644 --- a/configure.in +++ b/configure.in @@ -833,9 +833,8 @@ dnl AC_SUBST(DOCTYPES) AC_OUTPUT(Makefile po/Makefile util/Makefile test/Makefile \ WINGs/Makefile WINGs/WINGs/Makefile WINGs/Documentation/Makefile \ WINGs/Examples/Makefile WINGs/Resources/Makefile WINGs/Tests/Makefile \ - WINGs/Extras/Makefile WINGs/po/Makefile \ + WINGs/Extras/Makefile \ wmlib/Makefile wrlib/Makefile src/Makefile src/wconfig.h doc/Makefile \ - doc/sk/Makefile \ WindowMaker/Makefile WindowMaker/Backgrounds/Makefile \ WindowMaker/Defaults/Makefile WindowMaker/IconSets/Makefile \ WindowMaker/Icons/Makefile WindowMaker/Pixmaps/Makefile \ diff --git a/doc/Makefile.am b/doc/Makefile.am index 1d1e904b..ec7ca6bc 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in -SUBDIRS = sk +#SUBDIRS = sk man_MANS = \ geticonset.1x \ -- 2.11.4.GIT