This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: fork() and NT error 0xC0000135 (STATUS_DLL_NOT_FOUND)
- From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr at ncbi dot nlm dot nih dot gov>
- To: Andrey Repin <cygwin at cygwin dot com>
- Date: Wed, 30 Oct 2013 13:03:20 +0000
- Subject: RE: fork() and NT error 0xC0000135 (STATUS_DLL_NOT_FOUND)
- Authentication-results: sourceware.org; auth=none
- References: <5F8AAC04F9616747BC4CC0E803D5907D0C40B026 at MLBXv04 dot nih dot gov>,<1152476308 dot 20131030104720 at mtu-net dot ru>
> 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