diff options
Diffstat (limited to 'os/osinit.c')
-rw-r--r-- | os/osinit.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/os/osinit.c b/os/osinit.c index 1b58e1afe..d7f493463 100644 --- a/os/osinit.c +++ b/os/osinit.c @@ -141,15 +141,8 @@ OsInit(void) #endif } -#ifndef X_NOT_POSIX if (getpgrp () == 0) setpgid (0, 0); -#else -#if !defined(SYSV) && !defined(WIN32) - if (getpgrp (0) == 0) - setpgrp (0, getpid ()); -#endif -#endif #ifdef RLIMIT_DATA if (limitDataSpace >= 0) @@ -196,9 +189,7 @@ OsInit(void) } } #endif -#ifdef SERVER_LOCK LockServer(); -#endif been_here = TRUE; } TimerInit(); @@ -221,10 +212,8 @@ OsInit(void) void OsCleanup(Bool terminating) { -#ifdef SERVER_LOCK if (terminating) { UnlockServer(); } -#endif } |