From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from plutone.assyoma.it (cloud.assyoma.it [212.237.56.195]) by sourceware.org (Postfix) with ESMTPS id 864C93857719 for ; Fri, 14 Apr 2023 20:51:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 864C93857719 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=assyoma.it Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=assyoma.it Received: from webmail.assyoma.it (localhost [IPv6:::1]) by plutone.assyoma.it (Postfix) with ESMTPA id 71FB8DE7048C; Fri, 14 Apr 2023 22:51:11 +0200 (CEST) MIME-Version: 1.0 Date: Fri, 14 Apr 2023 22:51:11 +0200 From: Gionatan Danti To: Gionatan Danti , Brian Inglis , cygwin@cygwin.com Subject: Re: Can not stat file with utf char U+F020 In-Reply-To: References: <992b3c28d7f1cfc17f7c9bb47b53f770@assyoma.it> <8f4e63968f4cc73093f7ebbb32788286@assyoma.it> Message-ID: X-Sender: g.danti@assyoma.it Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_40,KAM_DMARC_STATUS,KAM_NUMSUBJECT,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Il 2023-04-14 22:40 Corinna Vinschen ha scritto: > This is really tricky. A new mount point flag could be used to > override > this behaviour on a per path basis. One problem is, the unicode -> > multibyte conversion when evaluating a symlink is done before it's > clear > where the symlink target is. Only the string is converted and it might > be a relative path, so the code doesn't know where the target ends up. > And that's probably not all. To tell the truth, it is such a corner (and infortunate) case that I would not care if the workaround does not work for symlinks. > Is it really worth to add code to support a long deprecated Windows > service? Yeah, I understand your point. I am not in the position to evaluate if it would be worth. Maybe a special case for only U+F020 (the most common "strange" char I see) can be considered? Thanks. -- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@assyoma.it - info@assyoma.it GPG public key ID: FF5F32A8