This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin_conv_path sometimes removes trailing slash
- From: Ken Brown <kbrown at cornell dot edu>
- To: cygwin at cygwin dot com
- Date: Sun, 14 Feb 2016 14:08:32 -0500
- Subject: Re: cygwin_conv_path sometimes removes trailing slash
- Authentication-results: sourceware.org; auth=none
- References: <56AC2C35 dot 9060903 at cornell dot edu>
On 1/29/2016 10:21 PM, Ken Brown wrote:
I'm using cygwin_conv_path to convert Win32 paths to POSIX paths, and
I'm puzzled by the conversion
d:/ --> /cygdrive/d
without the trailing slash.
Hi Corinna,
After your recent patch (git commit 8b83da2), I now see the conversion
d:/ --> /cygdrive/d/
as expected. But I have
C: /c some_fs binary,posix=0 0 0
in my /etc/fstab, and I get the conversion
C:/ --> /c
I would expect conversion to preserve the trailing slash here too.
Ken
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple