X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=DfV7NIgScL00zJTz ffVS0LELp1MOe01TYbn5NVOYO/clenB3IDcy+4TazUMmMrF4toZZd6iPSbvlhSMS g5gV776l11HCwrwskjNlOKolsWHTj7FluS91UBU7fqB1tTbEz4gL4CczRIkXz1aW 2RBn3/DDE+4fBljm3BtgU4VJaTQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=vhX2dY1is2M71/mKkuzClm 32OBE=; b=gSI94lgze9YoQEicusI9no8b3A+wiZE2KiTr/dflQke+L5I858SwtB 3ghInJlN9qf4JPqcKdvjpdf0wRmxYh+GyR6lzgX9W7RbWkKq8677svxkbfBkMqn6 2/Z23/gxqmVJFeU+8iG99STcc2SCkP5ryhEums4bdxcpLE1GPANZU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:ip*192.168.1.4, binary,posix, binaryposix, Hx-languages-length:553 X-HELO: limerock04.mail.cornell.edu X-CornellRouted: This message has been Routed already. Subject: Re: cygwin_conv_path sometimes removes trailing slash To: cygwin AT cygwin DOT com References: <56AC2C35 DOT 9060903 AT cornell DOT edu> From: Ken Brown Message-ID: <56C0D0B0.3060905@cornell.edu> Date: Sun, 14 Feb 2016 14:08:32 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56AC2C35.9060903@cornell.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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