1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-29 09:52:29 +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 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; return &socketaddr;
} }
static void static void
handle_sigpipe(int signum) dummyHandler(int signum)
{ {
if (0) signum=0; /* To avoid a gcc warning */
return;
} }
static WMConnection* static WMConnection*
createConnectionWithSocket(int sock, Bool closeOnRelease) /*FOLD00*/ createConnectionWithSocket(int sock, Bool closeOnRelease) /*FOLD00*/
{ {
@@ -384,12 +384,11 @@ createConnectionWithSocket(int sock, Bool closeOnRelease) /*FOLD00*/
/* ignore dead pipe */ /* ignore dead pipe */
if (!SigInitialized) { if (!SigInitialized) {
sig_action.sa_handler = &handle_sigpipe; /* Because POSIX mandates that only signal with handlers are reset
/* Because POSIX mandates that only signal with handlers are reset * accross an exec*(), we do not want to propagate ignoring SIGPIPEs
accross an exec*(), we do not want to propagate ignoring SIGPIPEs * to children. Hence the dummy handler. Philippe Troin <phil@fifi.org>
to children. Hence the dummy handler. */
Philippe Troin <phil@fifi.org> sig_action.sa_handler = &dummyHandler;
*/
sig_action.sa_flags = SA_RESTART; sig_action.sa_flags = SA_RESTART;
sigaction(SIGPIPE, &sig_action, NULL); sigaction(SIGPIPE, &sig_action, NULL);
SigInitialized = True; SigInitialized = True;

View File

@@ -833,9 +833,8 @@ dnl AC_SUBST(DOCTYPES)
AC_OUTPUT(Makefile po/Makefile util/Makefile test/Makefile \ AC_OUTPUT(Makefile po/Makefile util/Makefile test/Makefile \
WINGs/Makefile WINGs/WINGs/Makefile WINGs/Documentation/Makefile \ WINGs/Makefile WINGs/WINGs/Makefile WINGs/Documentation/Makefile \
WINGs/Examples/Makefile WINGs/Resources/Makefile WINGs/Tests/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 \ wmlib/Makefile wrlib/Makefile src/Makefile src/wconfig.h doc/Makefile \
doc/sk/Makefile \
WindowMaker/Makefile WindowMaker/Backgrounds/Makefile \ WindowMaker/Makefile WindowMaker/Backgrounds/Makefile \
WindowMaker/Defaults/Makefile WindowMaker/IconSets/Makefile \ WindowMaker/Defaults/Makefile WindowMaker/IconSets/Makefile \
WindowMaker/Icons/Makefile WindowMaker/Pixmaps/Makefile \ WindowMaker/Icons/Makefile WindowMaker/Pixmaps/Makefile \

View File

@@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in ## Process this file with automake to produce Makefile.in
SUBDIRS = sk #SUBDIRS = sk
man_MANS = \ man_MANS = \
geticonset.1x \ geticonset.1x \