X-Spam-Check-By: sourceware.org Message-ID: X-Sender: andre_bleau AT hotmail DOT com Reply-To: cygwin AT cygwin DOT com From: =?iso-8859-1?B?QW5kcukgQmxlYXU=?= To: cygwin AT cygwin DOT com Subject: Re: bug in cygwin_conv_to_posix_path() caused by period in win32 path Date: Fri, 13 Jul 2007 09:07:56 -0400 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed 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: [...] (*) and, funny enough, there's no API call in Win32 to return a DCWD. There's just a call GetCurrentDirectory() which returns *the* CWD. Which makes sense, given that the RTL_USER_PROCESS_PARAMETERS can only store one CWD per process. ------------ Well, this is not surprising, as there is no such thing as a DCWD in Windows. It is strictly a cmd thing. Try this: start 2 instances of cmd in parallel: *** First cmd *** Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\Documents and Settings\ableau>cd \winnt C:\WINNT>D: D:\>c: C:\WINNT> *** Second cmd *** Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\Documents and Settings\ableau.SOLVISION>d: D:\>c: C:\Documents and Settings\ableau> *** The "DCWD" is clearly independant for each cmd. - André Bleau, cygwin's OpenGL package maintainer. Please address any question about the OpenGL package to cygwin at cygwin dot com. _________________________________________________________________ Windows Live Hotmail. Plus stylé que jamais. Voyez par vous-même dès maintenant. www.nouveauhotmail.ca?icid=WLHMFRCA121 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/