Author: rfm
Date: Thu May 8 08:47:42 2014
New Revision: 37856
URL: http://svn.gna.org/viewcvs/gnustep?rev=37856&view=rev
Log:
fix ifdefs for MINGW to avoid fork related code
Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/Tools/gdomap.c
Modified: libs/base/trunk/ChangeLog
URL:
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=37856&r1=37855&r2=37856&view=diff
==============================================================================
--- libs/base/trunk/ChangeLog (original)
+++ libs/base/trunk/ChangeLog Thu May 8 08:47:42 2014
@@ -1,3 +1,7 @@
+2014-05-08 Richard Frith-Macdonald <[email protected]>
+
+ * Tools/gdomap.m: Fix ifdefs for MINGW to avoid fork relatred code.
+
2014-05-05 Ivan Vucica <[email protected]>
* GNUmakefile: gnustep-make's Master/deb.make now included.
Modified: libs/base/trunk/Tools/gdomap.c
URL:
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Tools/gdomap.c?rev=37856&r1=37855&r2=37856&view=diff
==============================================================================
--- libs/base/trunk/Tools/gdomap.c (original)
+++ libs/base/trunk/Tools/gdomap.c Thu May 8 08:47:42 2014
@@ -4481,7 +4481,6 @@
const char *machine = 0;
const char *lookupf = 0;
int donamesf = 0;
- int forked = 0;
#if defined(__MINGW__)
WORD wVersionRequested;
@@ -4489,6 +4488,8 @@
wVersionRequested = MAKEWORD(2, 2);
WSAStartup(wVersionRequested, &wsaData);
+#else
+ int forked = 0;
#endif
local_hostname = xgethostname();
@@ -4913,8 +4914,6 @@
gdomap_log(LOG_DEBUG);
}
-#endif /* !__MINGW__ */
-
if (forked)
{
is_daemon = 1;
@@ -4927,6 +4926,8 @@
#endif
#endif
}
+
+#endif /* !__MINGW__ */
init_my_port(); /* Determine port to listen on. */
init_ports(); /* Create ports to handle requests. */
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs