Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-11-27 01:29:35 +0300
committerCorinna Vinschen <corinna@vinschen.de>2003-11-27 01:29:35 +0300
commit1d88f8cea2f22cc8a5dab4db4238481666d50254 (patch)
tree15cfe4a404156db9048a11d93c61423f241c6b37 /winsup/cygserver/cygserver.cc
parenta2acbfb14e3e1d145a92c44abbce0398f54a8fd6 (diff)
* cygserver.cc (main): Move call to ipcinit() up before installing
any threads. * sysv_sem.cc: Update to FreeBSD version 1.67. (seminit): Initialize semaphore sequence numbers to 0.
Diffstat (limited to 'winsup/cygserver/cygserver.cc')
-rw-r--r--winsup/cygserver/cygserver.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/winsup/cygserver/cygserver.cc b/winsup/cygserver/cygserver.cc
index 355060feb..0cc6244ad 100644
--- a/winsup/cygserver/cygserver.cc
+++ b/winsup/cygserver/cygserver.cc
@@ -726,6 +726,8 @@ main (const int argc, char *argv[])
if (wincap.has_security () && !setup_privileges ())
panic ("Setting process privileges failed.");
+ ipcinit ();
+
/*XXXXX*/
threaded_queue request_queue (request_threads);
@@ -739,11 +741,7 @@ main (const int argc, char *argv[])
request_queue.add_submission_loop (&submission_loop);
if (transport->listen () == -1)
- {
- exit (1);
- }
-
- ipcinit ();
+ return 1;
cache.start ();