This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: fork() and NT error 0xC0000135 (STATUS_DLL_NOT_FOUND)


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]