bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

expand_wild different behaviour on NT & cygwin


From: Jim Hyslop
Subject: expand_wild different behaviour on NT & cygwin
Date: Tue, 26 Jul 2005 22:17:15 -0400
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

While tracking down the "watch add" bug I started working on in February, I noticed an inconsistency with the behaviour of expand_wild() between the Cygwin version, and the Visual Studio version.

If you call expand_wild() and pass it "." as an argument, the Visual Studio version converts it to the current directory name (i.e. if the current directory is c:\some_path\directory\, "." becomes "directory"). Under cygwin, it remains as "."

Which is the correct and expected behaviour? I suspect it's cygwin, but I'd like to make sure before I submit any patches.

--
Jim





reply via email to

[Prev in Thread] Current Thread [Next in Thread]