| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <BAY137-F29D252E44164227F8AAD9693FD0@phx.gbl> |
| X-Sender: | andre_bleau AT hotmail DOT com |
| Reply-To: | cygwin AT cygwin DOT com |
| From: | =?iso-8859-1?B?QW5kcukgQmxlYXU=?= <andre_bleau AT hotmail DOT com> |
| 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 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |