DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 55DH0P3V1579034 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 55DH0P3V1579034 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=DqOG1Osu X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5C6BD388E519 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1749834023; bh=tVDJPnaD7gwNUkxHjaP91AYLkgUefVYATDiT2Mdo5Do=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=DqOG1OsuJciMVZx9cbktkWrZTSucW0lKvCLgYP2BGBDsyMr1ANzgyTwU2HITnxENl y94DCUycHrUCaoSLkJWIrbE0r0BLXCRgqaGxN6GpoKQhyAoHuntJNItnplVt4bvRHv Qv67sWkatfam4wAdv8EWfbQQOpOFQePZ7ztB9krA= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 874753823D36 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 874753823D36 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749833995; cv=none; b=rdbtRxIQRvpqnCWyOAvmq7ev3TwFovJkYX1Joq3x60grpFbQNCpjTZtGUvOICGiPNW9LgMKVwezVzNW4LmVvlywosOMa3NO4X6sjnKHLZ2oNchu8ZQm1X23Mb0ycduYLvFd9LUESvabh5w5psLc1R9TX3+jdZTmHU2hHFOT8CoA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749833995; c=relaxed/simple; bh=Yya5lEjYPCq3y/k1uZg34w49Qrx360qQigG55VoBLeQ=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=qQaKzlUmB96ZBZooB3Qn0MEDcE9xDpTDmpiX4UWOKEnrMSN2irfub27/XTTbJkGcGpkJuy1Q4YATiC2PPabnODGIkTgBJtt8OhiACHf3URrULlvfZB5gMTiQ10MRjEn9OOQx4x9876Gqb9uIFAZ47O7D9VHmSkDNNywY2pSKKTM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 874753823D36 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749833994; x=1750438794; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qe/nKYddfrk/X7831DUCyOVU3JRJDHLQFDqq2SzXOdQ=; b=roP5GExtK7VmVovft6xdUtpAlCSsp2VFMq+fxIP7rxKSkluwZbTXnPOvil2fyFcY6Z qwSGPmH5LNuSIV+/a1VhsJe4xLfO+zJ0wY2hGQFI2XEjSOmAQB2YNyaj6Gf+V/QHf+Pz HnaEWCFP/iPC6xq27vkDg7tUnJVHs6vU8KZPEpCA8v7OxGujwT5Fs87a9YGNoPMs2JuV q3VIKlhWy9NRxC8iequUvLm7QbTEERCpzlAw24+51+d/lSvjhKkd5ae7sBM8bR8KQCEJ BXbo7wErsraAAUjLcmxkKqJvnBpjQEezpzdlyySU2VuHi4RojzEVTgPN59K9m06ukTr2 Nd2A== X-Gm-Message-State: AOJu0Yz3WnxdJuZypZcJbhB109Q5OVcYC0JOoVwV2RjNg6HtgzMTJWR3 MoXdJWwOUJp920kj2A+lSYXGb+Y5n8TrLkE8r6ZTbBfcDF3M/ovdqUbHCQ023A== X-Gm-Gg: ASbGncvFLWo7UWzfK9v7vIE6smSitmMQRojIlyAqcWudRznuZLZAD7a1qL8e8AEDHhC qwaKUXQZ2IbI8zowumK25A7ca5AYRlw0/yEz/HrO9XB0jzR2lw9pvD7UVrJG3pOO3MbI7N0UKet wMJ95Z6HplGDvvama5pE9DFrK3BYrnuHGGbvpXac3CT5LqmjItaPVoup8i3desawaMNIKZJK2G8 YoLTZa06FW6WvqTW2DfOQ0x6D0+6Ne4crgDxfUTkT57ra+z0CHP3OtEBuS9HW0Hnq636AM++9or AqJUfvO8S0J9KOwVe/IbzZOJo+aRLsODaGyZfBg3yI6UoH2kf5gpnMIPigSf75bsjVAuGNQnnI2 EBiAJlLtzlcxG+ycmGIwR0nXodRwAdpzRFwhvt21UFqM= X-Google-Smtp-Source: AGHT+IGG/NygzK6hye+TJANySiKrm/rMXurSUVrwIKXAlrC+wzzU9kJ5ZYqVUaMgVHaFHycwyor41g== X-Received: by 2002:a17:907:94c8:b0:ade:44da:d2cf with SMTP id a640c23a62f3a-adf9e2ce1c0mr44622666b.18.1749833993814; Fri, 13 Jun 2025 09:59:53 -0700 (PDT) Message-ID: <6b97edbc-1d5c-486f-a574-7f656672906b@gmail.com> Date: Fri, 13 Jun 2025 18:59:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Path prefix //./ in Cygwin To: cygwin AT cygwin DOT com References: <35feb8a2-17eb-fcc8-48dc-58166f708b1a AT jdrake DOT com> Content-Language: de-DE, en-US In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?Hans-Bernhard_Br=C3=B6ker_via_Cygwin?= Reply-To: =?UTF-8?Q?Hans-Bernhard_Br=C3=B6ker?= Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 55DH0P3V1579034 Am 13.06.2025 um 07:38 schrieb Yuyi Wang via Cygwin: >> If the CWD >> is /proc (so something without a Windows CWD), it seems to fall back to >> referring to '/a/b' again?!? > Oh, no. That makes me nearly impossible to determine whether a path is absolute > without getting the current PWD. That distinction is impossible regardless of whether you know the PWD or not, largely because the concept of a working directory is itself fraught with quite a few complications. Windows processes do not hold just a single current working directory (CWD).  Rather they maintain a separate current working folder (CWF) per drive letter, plus a single current working drive letter (CWL).   The equivalent of the CWD then is "CWF on CWL". The CWF of any drive, and the CWL, can be all changed independently. That means path names on Windows know not just two (relative vs. absolute) but at least 4 types: 1) dir\file.ext   :: relative to the CWF on the CWL 2) \dir\file.ext :: relative to the root of CWL 3) d:dir\file.ext :: relative to the CWF of a given drive 4) d:\dir\file.ext :: absolute Types 2) and 3) cannot qualify as relative, nor as absolute.  So this distinction cannot be mapped to Windows. But we're not in a position to bluntly refuse such names, either.  So that's where we are. -- 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