X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4B5F43858004
Authentication-Results: sourceware.org;
 dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=message-id:date:mime-version:user-agent:subject:content-language:to
 :references:from:in-reply-to:content-transfer-encoding;
 bh=ctfNBp8NzhvRgsaybWh132+Yv38smsW7ByrNlOv9zAY=;
 b=RpHFCAtHpjg1jJUE1yPf4Nc9RJvS7kVbnfh0yWkAPr7L5uw2bhag4vb1raomFO/H/N
 jmVu++Sg70GC2N9wiFL7Z+5nggjblE0K7/kzvc5nkipD4/Ek7m8lLgfPRfUjcW/LPsCG
 ag8D5ARloixiGAITjUSCvniAsrEOZEtDq9fO6PiPccMubXGpjh83ILYMFHgEOsdCUD6j
 L1CQGjj7eRMiSnSpzLNP8S7Oj2gWAzDzmy6MUEIdhTrWyJuQJHmHDvaNjVUkbAIQV5yl
 GN1X7qyXAS7BbE9cbgKz9Ef2YJ2yyqD2lv4i2A2DAUq3A+yqCMJBkb13iuM4tyJtGZuK
 8dog==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:message-id:date:mime-version:user-agent:subject
 :content-language:to:references:from:in-reply-to
 :content-transfer-encoding;
 bh=ctfNBp8NzhvRgsaybWh132+Yv38smsW7ByrNlOv9zAY=;
 b=nUqh9OHHTbxT1YX5dRhX7t9ZRQqC3VM7xqzN0Ba127Nqqw3RZDDKjt2XexvNMpvwcQ
 WcNMsEILGLlPskwYVVX1lu9t3Ewn0DbhMG0bWy7buBAMo59CN1E7fZMKsG/3+yjrOLXv
 kVAU9qvyXRIrPw+qfFYBTel1rfZAMm44qiOfUYa4S150ZoHFpxxzmYKWr5XkVMGC/z08
 9H88k6L8ZA8LlcNiKa6phcGO2RQmR9jJFyYTO8IF5/yThu5TRzgrfvT3lSv6tguIKhij
 en/+ohzJG+KH4Io0Cvi3fXCGehYFyZLVeL7JsA3OidQi8/s3VvLAE+HIRoC2nZpIlvTT
 mreg==
X-Gm-Message-State: ACgBeo2DIknWHVa+Yda26yFPTJmHX1KP6U1bGInhDIXy1GatagiI2ljR
 zqZ8NwFukvseHDU7XfmQ401r7Cv5B0I=
X-Google-Smtp-Source: AA6agR6Z5Xf+gQEZb8jByOCz9sLUCUKs1sFGpizXiS8DqlDi9FBHYgFnUVTkqkGIjaGxgbM1HBKzFw==
X-Received: by 2002:a05:6402:100e:b0:440:785c:20c9 with SMTP id
 c14-20020a056402100e00b00440785c20c9mr4446790edu.184.1659875809093; 
 Sun, 07 Aug 2022 05:36:49 -0700 (PDT)
Message-ID: <74593e91-20c2-dfe4-86e2-55dad3721fbc@gmail.com>
Date: Sun, 7 Aug 2022 14:36:44 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
 Thunderbird/91.12.0
Subject: Re: 'touch filename.ext' will touch 'filename.ext.exe' or
 'filename.ext.lnk' or 'filename.ext.exe.lnk' if they exist when there's no
 'filename.ext'
Content-Language: it
To: cygwin@cygwin.com
References: <77a27ddf-2771-76bf-bbaa-374efbf296d7@mail.ru>
From: Marco Atzeri <marco.atzeri@gmail.com>
In-Reply-To: <77a27ddf-2771-76bf-bbaa-374efbf296d7@mail.ru>
X-Spam-Status: No, score=1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_EXEURI,
 NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
 SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On 02.08.2022 15:45, Mike Kaganski wrote:
> Hi!
> 
> Using cygwin 3.3.4-2 and 3.3.5-1:
> 
> 
> Create a file named 'file.ext.exe'.
> 
> In cygwin, run:
> 
>  > touch file.ext
> 
> 
> Examine the directory. The 'file.ext' wasn't created; the file 
> 'file.ext.exe' timestamp was updated.
> 

Hi Mike,
it is an expect behaviour as "file.ext.exe" has as alias "file.ext"

see User Guide

https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-exe

Regards
Marco



-- 
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
