Mail Archives: cygwin/1997/01/02/18:45:51
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 -