This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: bug in cygwin_conv_to_posix_path() caused by period in win32 path
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 2 Jul 2007 18:20:59 +0100
- Subject: RE: bug in cygwin_conv_to_posix_path() caused by period in win32 path
- References: <4689330F.3050404@mff.cuni.cz>
On 02 July 2007 18:17, Pavel Kudrna wrote:
> Hi,
> the legal win32 paths containing period like "c:.\" or "c:." are
> incorrectly converted by
> cygwin_conv_to_posix_path() to "c:./" and "c:." respectively. See last
> two output
> lines of the attached example program.
> Pavel Kudrna
> c:.\ c:./
> c:. c:.
They are legal, but there's no possible way to convert them to POSIX, which
has no notion of a per-drive current directory.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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/