X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=rchIa1ZtasvRycRRJejvugk0oF2eQ hMb2M7xw2HSp3DpYaz/OuqNJrvdw1PauR6bLq9Mm/tiAC8cNZh5c/5wv3cAuzi4n Lj5Y2HofoHRBaTIcpk1QwdTA6DRDd7kve54SwuyQ4lgn5Ki+d/RZ16ntqvi7a3WE QvKkL2Pb9pT0b4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=7fDCxGFpYGup7xGLg3X452YyUeE=; b=Zyo hUuVHADC60zLah0vhCNcsjEHCbLEQav2RHM0gbCvs+qjSmjrFWJMBL2zyCHpTOUc rpdFQhFNwUOFdVKztRU7Bup+LcrW9uJjBQHFIYFbzwTyE2jyL37Ytvjtx5NF3I+G TMIKhvpZskcLpeBZ6qlNI05kvauiPvVWBY1Tbhbs= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_05,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: nihxway2out.hub.nih.gov X-IronPortListener: Outbound_SMTP X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgsFAGkCcVKcKEfW/2dsb2JhbABZgwc4VL9NgSYWdIIlAQEBAwESKEQLAgEIDQEUFBAfEyUBAQQbGodfBg2dfZx2jx4zBYMfgQ0DjlOKZoU1g2CHRYMmgio From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" To: Andrey Repin Subject: RE: fork() and NT error 0xC0000135 (STATUS_DLL_NOT_FOUND) Date: Wed, 30 Oct 2013 13:03:20 +0000 Message-ID: <5F8AAC04F9616747BC4CC0E803D5907D0C40B375@MLBXv04.nih.gov> References: <5F8AAC04F9616747BC4CC0E803D5907D0C40B026 AT MLBXv04 DOT nih DOT gov>,<1152476308 DOT 20131030104720 AT mtu-net DOT ru> In-Reply-To: <1152476308.20131030104720@mtu-net.ru> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r9UD3ZgS020244 > 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