X-Recipient: archive-cygwin@delorie.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@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B3AB93858400
Content-Language: en-US
Message-ID: <2ebc67f4-b82c-b197-c486-f04735f6fcb0@prs.de>
Date: Wed, 17 Nov 2021 15:41:44 +0100
MIME-Version: 1.0
To: <cygwin@cygwin.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@cygwin.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@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: "Wolfgang S. Kechel via Cygwin" <cygwin@cygwin.com>
Reply-To: "Wolfgang S. Kechel" <wolfgang.kechel@prs.de>
Cc: PRS Sysadm <sysadm@prs.de>,
        =?UTF-8?Q?Adri=c3=a1n_Medra=c3=b1o_Calvo?= <amcalvo@prs.de>,
        "support@prs.de" <support@prs.de>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
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.kechel@prs.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

