fork() and NT error 0xC0000135 (STATUS_DLL_NOT_FOUND)
Lavrentiev, Anton (NIH/NLM/NCBI) [C]
lavr@ncbi.nlm.nih.gov
Wed Oct 30 13:31:00 GMT 2013
> Add cygwin1.dll to the list of known system libraries.
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths
Thanks for the suggestion.
> the server SHOULD NOT unconditionally change the CWD to the ROOT of a file system
Many UNIX daemons do so not to lock up certain parts of the file system (esp. if those
are network-mounted), and ours is just a port (so it inherits the behavior).
E.g. see 4.5 here: http://www.netzmafia.de/skripten/unix/linux-daemon-howto.html
or here: http://raphaelcruzeiro.com/blog/writing-a-daemon-for-unix-and-unix-like-systems/
"change it's working directory to the root, or any other directory that is guaranteed not to be on a filesystem that may eventually need to be unmounted"
Anton Lavrentiev
Contractor NIH/NLM/NCBI
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list