public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cygwin_conv_path sometimes removes trailing slash
Date: Mon, 15 Feb 2016 15:26:00 -0000	[thread overview]
Message-ID: <20160215152634.GA20014@calimero.vinschen.de> (raw)
In-Reply-To: <56C0D0B0.3060905@cornell.edu>

[-- Attachment #1: Type: text/plain, Size: 855 bytes --]

Hi Ken,

On Feb 14 14:08, Ken Brown wrote:
> 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.

Right.  You're hitting a border case there.  I fixed in in the repo.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

      reply	other threads:[~2016-02-15 15:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-30 20:46 Ken Brown
2016-01-31 22:25 ` Jan Nijtmans
2016-02-01 10:29   ` Henri
2016-02-01 10:38     ` Henri
2016-02-01 10:45     ` Ray Donnelly
2016-02-01 10:59       ` Henri
     [not found]   ` <CAOYw7ds-N=f+JCn-2rtFqOyahmA_M9mVNwv1CZH6__M-K7ht1A@mail.gmail.com>
2016-02-08 18:13     ` Corinna Vinschen
2016-02-11 16:50       ` Ray Donnelly
2016-02-14 19:08 ` Ken Brown
2016-02-15 15:26   ` Corinna Vinschen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160215152634.GA20014@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).