delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/02/18:45:51

From: jra AT axon DOT cygnus DOT com (Jeremy Allison)
Subject: Re: Apache 1.2b1 with gnu-win32 -- successes and problems
2 Jan 1997 18:45:51 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199701030220.SAA07261.cygnus.gnu-win32@cygnus.com>
Original-To: "Oleg Moroz" <moroz AT inist DOT ru>
Original-cc: "cygwin mailing list" <gnu-win32 AT cygnus DOT com>, jra AT cygnus DOT com
In-reply-to: Your message of "Wed, 18 Dec 1996 20:14:32 PST."
<199612182359 DOT XAA28412 AT inist DOT ru>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Oleg, I think I have tracked down some of the
apache problems with Cygwin32 and maybe fixed them.

I say maybe as I have experienced the same problems you
reported with my Kerberos 5 port to NT, and have fixed
them in Cygwin32. I added in the code to do GetModuleFileName()
so that fork() will find the child correctly, even after
changing the path, also, I recently discovered and fixed
a problem with select() after fork() - as all socket calls
were failing after a fork (the person who wrote the original
socket code forgot that each Win32 app that uses sockets
needs to do WSAStartup for itself, with the result that fork'ed
children were not doing this). I moved WSAStartup into the
dcrt0.cc and fork() calls and now I have a daemon that backgrounds
itselft correctly and keeps on working.

Let me know it you want the code to test this - I may have to
give you a new snapshot, as I have done many changes since the
b17 release (added mmap etc.).

Cheers,

Jeremy.
jra AT cygnus DOT com
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019