delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/02/13:23:10

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <4689330F DOT 3050404 AT mff DOT cuni DOT cz>
Subject: RE: bug in cygwin_conv_to_posix_path() caused by period in win32 path
Date: Mon, 2 Jul 2007 18:20:59 +0100
Message-ID: <017601c7bccd$5b72db80$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <4689330F.3050404@mff.cuni.cz>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019