From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward500c.mail.yandex.net (forward500c.mail.yandex.net [IPv6:2a02:6b8:c03:500:1:45:d181:d500]) by sourceware.org (Postfix) with ESMTPS id 5E3DE3857006 for ; Mon, 6 Nov 2023 17:30:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5E3DE3857006 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5E3DE3857006 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a02:6b8:c03:500:1:45:d181:d500 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699291837; cv=none; b=aAE/aqpVJ37+dIMPXP+/h9pArDoLVodsSGSyS6rQhnELvyNqCGM43H49ub815ynHK4157pSOFJ3ufV0xOMNz3WpRJ0kXyFIdsKgMiXaGmvzeWAeoD4X79qF3r4iZCodnfQ9bHcNij+7QJZmAx7//Jt1qY8VX31jWk30gwjuxEtM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699291837; c=relaxed/simple; bh=uye5FzZwd4s+MI+tDkirohswrzknhRwGHgSlwPVR0+U=; h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version; b=WmIRxrcAcSVTzYD44NFa29VBjJo+tSt4HmmLAwMeuwyZNKIkAbfm2/nPQkbtEg6rDS9p1G9pUo3xBS4+nGjQFRaNTnzFQ61pXSaPsi4HaZcimU1zz8t+ktESDL+6DKSqEAzRqDC3DdaLXdQcfmRSY0TRMhblalo8b3TmWYOWNnk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mail-nwsmtp-smtp-production-main-81.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-81.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:5da3:0:640:8139:0]) by forward500c.mail.yandex.net (Yandex) with ESMTP id AA81060B8A; Mon, 6 Nov 2023 20:30:33 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-81.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id MUfEATTWlmI0-ex7GTuSF; Mon, 06 Nov 2023 20:30:33 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1699291833; bh=TH438XFPR4sRk/78uEvKwBt54CslJgUIher39cslZFU=; h=In-Reply-To:Subject:Date:References:To:Message-ID:Reply-To:From; b=Kko8jM7zm86cNMwYCZzNYuofvQeLtHCtL1r1IrHI4MgyVZ1l2DPaiUjmhXOxU+0oQ cEY/HyHFAbEbBU54cjXVcYSHTKQKkCPIFNmUaoQkS44Xr1wQ3iqeB/r757tMfACYUQ jm6fVcJKL78/s1A9W/Aor9QoYvVYcee5mlNa2m64= Authentication-Results: mail-nwsmtp-smtp-production-main-81.myt.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Fri, 29 Sep 2023 20:05:15 -0000 Date: Fri, 29 Sep 2023 23:05:15 +0300 From: Andrey Repin X-Mailer: The Bat! (v9.3.4) Professional Reply-To: cygwin@cygwin.com Message-ID: <227912446.20230929230515@yandex.ru> To: "Mainz, Roland" , cygwin@cygwin.com Subject: Re: /usr/bin/realpath cannot handle UNC paths ? In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DATE_IN_PAST_96_XX,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_THEBAT,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Greetings, Mainz, Roland! > ---- > We're trying to use UNC paths (e.g. //server/home/xyz/), but some of our > scripts fail when /usr/bin/realpath is used. > Example: > ---- snip ---- > $ uname -a > CYGWIN_NT-10.0-19045 WINGRENDEL01 3.4.9-1.x86_64 2023-09-06 11:19 UTC x86_64 Cygwin > $ realpath "$PWD" > realpath: > //crawlinghorror_ipv6/home/rmainz/tmp/projekt_kraken/try11_rde/RDE-Development/build_windows10_msnfs_ipv6: No such file or directory > ---- snip ---- > Bug or feature ? > ---- $ pwd //DAEMON-EC.DARKDRAGON.LAN/D $ echo "$PWD" //DAEMON-EC.DARKDRAGON.LAN/D $ which realpath /bin/realpath $ /bin/realpath "$PWD" //DAEMON-EC.DARKDRAGON.LAN/D -- With best regards, Andrey Repin Friday, September 29, 2023 23:04:17 Sorry for my terrible english...