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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=phbKUb51nijfX8AZvXVk4br2SmjtPauThEsQkwV0Wzyx4SARI8WcO GUfu70rICbxnuOUnXxPgwVLbB4Z68x8uf9zY+jawXlZM1RHsPc/zp5DgsT2HE5Bd 97lnUTa8gm75+z5gGnXJ8rAc1PtBE0x0kDkBrcYtugYyieO+W5UzLU= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=1I9YVLlRW0Uxr6QR8SzD5MfiuGU=; b=qC4i6jcvJeGvoWXn69T1h3ROCuoU bLumJ62AcL6iV7HqJYMfwjhSo/KQLtyl+MRxupXKt+OJb25Yv8lDI4/p1UvmZCaT TaLHn47AQZ6nA/o5eXHHQQGTxGAeVibdjgQDOCutZOtMF9A72trDqr1Q1x0xml+5 UkIojj1MRs/hzVs= 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=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*MI:sk:56AC2C3, H*MI:sk:xvKUCGw X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Henri Subject: Re: =?utf-8?b?Y3lnd2luX2NvbnZfcGF0aA==?= sometimes removes trailing slash Date: Mon, 1 Feb 2016 10:29:17 +0000 (UTC) Lines: 39 Message-ID: References: <56AC2C35 DOT 9060903 AT cornell DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Jan Nijtmans gmail.com> writes: > > 2016-01-30 4:21 GMT+01:00 Ken Brown: > > 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. By contrast, we have > > > > d:/foo/ --> /cygdrive/d/foo/ > > This came up before: > > I had to workaround it in tkimg. > > It's easy to workaround in your program, but - indeed - > that shouldn't be necessary. I too would expect that > when the input contains a slash, the output should too. > > Regards, > Jan Nijtmans For the record ... - Ken Brown refers to: win32 -> posix - Jan Nijthuis and Ray Donnelly refer to: posix -> win32 Different code paths ... (and yes, conversions in both directions should be correct) Regards, Henri -- 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