From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11620 invoked by alias); 14 Feb 2016 19:08:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 11610 invoked by uid 89); 14 Feb 2016 19:08:30 -0000 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 Received: from limerock04.mail.cornell.edu (HELO limerock04.mail.cornell.edu) (128.84.13.244) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 14 Feb 2016 19:08:29 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock04.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u1EJ8RUB019266 for ; Sun, 14 Feb 2016 14:08:27 -0500 Received: from [192.168.1.4] (cpe-67-249-176-138.twcny.res.rr.com [67.249.176.138]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u1EJ8QmK010258 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sun, 14 Feb 2016 14:08:27 -0500 Subject: Re: cygwin_conv_path sometimes removes trailing slash To: cygwin@cygwin.com References: <56AC2C35.9060903@cornell.edu> From: Ken Brown Message-ID: <56C0D0B0.3060905@cornell.edu> Date: Sun, 14 Feb 2016 19:08:00 -0000 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 X-SW-Source: 2016-02/txt/msg00216.txt.bz2 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