This is the mail archive of the cygwin-developers@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bugs in chdir()?


On Sun, Dec 03, 2000 at 01:05:34AM -0500, Christopher Faylor wrote:
>On Sun, Dec 03, 2000 at 12:45:16AM -0500, Christopher Faylor wrote:
>>On Sun, Dec 03, 2000 at 12:47:39PM +0900, Kazuhiro Fujieda wrote:
>>>$ cd '\TEMP'		# Use Win32 style path with a backslash.
>>>$ pwd
>>>/TEMP			# No such directory.
>>>
>>>I think they are not bugs of chdir(), but bugs of the path
>>>conversions and revealed via chdir(). The strace logs are
>>>attached below.
>>
>>Your analysis was correct.  The path handling code did not correctly
>>add a missing drive spec.  I think I've fixed that.
>>
>>Thanks for the report.
>
>Nuts.  I just realized that my simplistic change breaks native UNC path
>handling.
>
>I'll fix this tomorrow.

This should be fixed.

cgf

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]