bug in cygwin_conv_to_posix_path() caused by period in win32 path

André Bleau andre_bleau@hotmail.com
Fri Jul 13 13:08:00 GMT 2007


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/



More information about the Cygwin mailing list