* significantly more enjoyable.)
*/
#ifndef lint
-static const char rcsid[] = "$Id: os_win32.c,v 1.25 2001/11/30 17:48:57 robs Exp $";
+static const char rcsid[] = "$Id: os_win32.c,v 1.26 2001/12/21 02:58:33 robs Exp $";
#endif /* not lint */
#define WIN32_LEAN_AND_MEAN
static HANDLE stdioHandles[3] = {INVALID_HANDLE_VALUE, INVALID_HANDLE_VALUE,
INVALID_HANDLE_VALUE};
-// This is a nail for listening to more than one port..\r
+// This is a nail for listening to more than one port..
static HANDLE acceptMutex = INVALID_HANDLE_VALUE;
static BOOLEAN shutdownPending = FALSE;
}
}
- if (acceptMutex == INVALID_HANDLE_VALUE)\r
- {\r
+ if (acceptMutex == INVALID_HANDLE_VALUE)
+ {
/* If an accept mutex is in the env, use it */
val = getenv(MUTEX_VARNAME);
if (val != NULL)
{
acceptMutex = (HANDLE) atoi(val);
- }\r
+ }
}
/*
int pseudoFd = -1;
short port = getPort(bindPath);
- if (acceptMutex == INVALID_HANDLE_VALUE)\r
- {\r
- acceptMutex = CreateMutex(NULL, FALSE, NULL);\r
+ if (acceptMutex == INVALID_HANDLE_VALUE)
+ {
+ acceptMutex = CreateMutex(NULL, FALSE, NULL);
if (acceptMutex == NULL) return -2;
if (! SetHandleInformation(acceptMutex, HANDLE_FLAG_INHERIT, TRUE)) return -3;
}