From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11270 invoked by alias); 5 Mar 2010 17:40:31 -0000 Received: (qmail 11261 invoked by uid 22791); 5 Mar 2010 17:40:29 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.sidefx.com (HELO mail.sidefx.com) (38.99.137.163) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 05 Mar 2010 17:40:26 +0000 Message-ID: <4B91422F.3050108@sidefx.com> Date: Fri, 05 Mar 2010 20:11:00 -0000 From: Edward Lam User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] [1.7] Updated: dash-0.5.5.1-2; Obsolete: ash References: <4B5860C9.50100@sidefx.com> <4B591221.10501@byu.net> <4B91105B.7050205@sidefx.com> <20100305152637.GK7980@calimero.vinschen.de> <4B913788.40301@sidefx.com> <4B913AF2.3070102@redhat.com> <20100305172048.GN7980@calimero.vinschen.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@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2010-03/txt/msg00184.txt.bz2 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