This is the mail archive of the cygwin-patches@cygwin.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]
Other format: [Raw text]

Re: [Patch]: chdir


After mulling over it, I simplified chdir even more
in the interest of uniformity (it matters for unc paths).
Now cwd.set is always called with only the native_dir.

That means that cwd.set always attempts to build the
Posix wd through the mount table.
Up to now that was only the case when a symlink was
involved in the translation, or there was a ":" or a "\" 
in the directory name, or check_case was not relaxed.

Pierre

2004-05-06  Pierre Humblet <pierre.humblet@ieee.org>

	* path.cc (chdir): Do not check for trailing spaces.
	Do not set native_dir to c:\ for virtual devices.
	Pass only native_dir to cwd.set.
	(cwdstuff::set): Assume posix_cwd is already normalized.

Attachment: path.diff
Description: Text document


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