X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4B91422F.3050108@sidefx.com> Date: Fri, 05 Mar 2010 12:41:03 -0500 From: Edward Lam User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] [1.7] Updated: dash-0.5.5.1-2; Obsolete: ash References: <4B5860C9 DOT 50100 AT sidefx DOT com> <4B591221 DOT 10501 AT byu DOT net> <4B91105B DOT 7050205 AT sidefx DOT com> <20100305152637 DOT GK7980 AT calimero DOT vinschen DOT de> <4B913788 DOT 40301 AT sidefx DOT com> <4B913AF2 DOT 3070102 AT redhat DOT com> <20100305172048 DOT GN7980 AT calimero DOT vinschen DOT de> In-Reply-To: <20100305172048.GN7980@calimero.vinschen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 Corinna Vinschen wrote: > On Mar 5 10:10, Eric Blake wrote: >> Let's rule out bash vs. dash complexities, and first focus on whether >> cygwin1.dll might be at fault. Untested code: >> >> #include >> #include >> #include >> #include >> int main(int argc, char**argv) >> { >> int e = chdir(argv[1]); >> char *cwd = getcwd(NULL,0); >> return printf ("chdir to %s: %d(%s), now in %s\n", argv[1], >> e, strerror(e), cwd); >> } > > Works fine in Cygwin, I just tested it: This also works fine on my system: $ ./chdir c:/WINDOWS chdir to c:/WINDOWS: 0(No error), now in /c/WINDOWS -Edward -- 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