delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/17/09:42:18

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4073B385803F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1637160137;
bh=RlGYD9AHCKNTLeHQ2naqunukBDMqJ61pd+fepFC/Tvw=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:Cc:From;
b=jVimBmvVVU2WD1YOHOH7Cyh52Hl3sw8N69Scye4AVYus8XQ3l/gMuR8Sl6f4HyCxR
zZu9QNxpl5Ku6P5ezcHHD142Kp6DijtrX7YQVuwtJieKVBgKjSB6Grav52qphnhhpr
JDkiWcdybYBYeasYQ8Gs3huVDMp4sf6o4nRmpcB4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B3AB93858400
Message-ID: <2ebc67f4-b82c-b197-c486-f04735f6fcb0@prs.de>
Date: Wed, 17 Nov 2021 15:41:44 +0100
MIME-Version: 1.0
To: <cygwin AT cygwin DOT com>
Subject: Misbehaviour of cygpath -am between versions 3.1.4 and 3.3.2
X-GFI-SMTP-Submission: 1
X-GFI-SMTP-HelloDomain: smtp1.prs.de
X-GFI-SMTP-RemoteIP: 192.168.250.8
X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_40, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, SPF_HELO_NONE,
SPF_PASS autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: "Wolfgang S. Kechel via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Wolfgang S. Kechel" <wolfgang DOT kechel AT prs DOT de>
Cc: PRS Sysadm <sysadm AT prs DOT de>,
=?UTF-8?Q?Adri=c3=a1n_Medra=c3=b1o_Calvo?= <amcalvo AT prs DOT de>,
"support AT prs DOT de" <support AT prs DOT de>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 1AHEgIvm020217

Dear folks!

The command 'cygpath -am .' yields different results between 
cygwin-3.1.4-1 and cygwin-3.3.2-1 on a Windows 10 box when the current 
directory is a network share.

Example with V3.1.4:

cygpath -am .  ---> P:/mytool/gbuild/wintel/libtiff

Example with V3.3.2-1

cygpath -am .  ---> //mynas.mydomain.de/product/mytool/gbuild/wintel/libtiff

This causes UNC filenames to appear and this cmd.exe is unable to start 
in those directories when started from a cygwin shell or from nmake run 
in a cygwin shell.

I prefer to get the old behaviour back since it worked for 20+ years up 
to now - or at least an option to enable the old behavior again.

Please note that I have not subscribed to any cygwin mailing list.

Thanks in advance and best regards

Wolfgang

-- 
Wolfgang Kechel                         mailto:wolfgang DOT kechel AT prs DOT de
Patzschke + Rasp Software GmbH                      http://www.prs.de
Bierstadter Straße 7                          Fax: +49-(0)611-1731-31
D-65189 Wiesbaden     Phone: +49-(0)611-1731-611 / +49-(0)174-3454260

Patzschke + Rasp Software GmbH, Bierstadter Str. 7, D-65189 Wiesbaden
Eintragung im Handelsregister: Amtsgericht Wiesbaden, HRB Nr. 22673
Geschäftsführer: Wolfgang Kechel, Till Immanuel Patzschke


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019