From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13272 invoked by alias); 30 Mar 2015 11:04:50 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 13206 invoked by uid 89); 30 Mar 2015 11:04:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.9 required=5.0 tests=AWL,BAYES_00,LIKELY_SPAM_SUBJECT autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Mar 2015 11:04:48 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 7535AA80982; Mon, 30 Mar 2015 13:04:46 +0200 (CEST) Date: Mon, 30 Mar 2015 11:16:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: With bad UTF-8, cygwin can create files it can't read Message-ID: <20150330110446.GK29875@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s5/bjXLgkIwAv6Hi" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-03/txt/msg00515.txt.bz2 --s5/bjXLgkIwAv6Hi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 702 On Mar 25 14:34, Kyzer wrote: > Hello, >=20 > I've found that if you use cygwin to create a file with badly-encoded > UTF-8, readdir() gives out an entry with a name that cygwin won't > subsequently accept. >=20 > * create a file using filename with hex bytes F4 8F BF BF > * readdir() reports the filename as hex bytes E2 8E B3 ED BF BF > * attempting to open or unlink the filename E2 8E B3 ED BF BF fails > * attempting to open or unlink the filename F4 8F BF BF succeeds Thanks for the testcase. I'll have a look later this week (I hope). Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --s5/bjXLgkIwAv6Hi Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVGS3OAAoJEPU2Bp2uRE+g2esP+gIkgeG3VP+5qitw/crfboCF N2kRtXilC7iIJFgWpX88s4dEnrRV01FslXO2BR9X233u/qnAJuJ2e0nSHJgLu2Hn 1SBBTbAjHLCTh4PH9cDSFUzUVx4hqc7dp1MHbRtHGGP4TxKysH4PHKIUcDFPiRRO wfnxcn9/Nj9yegVbznQGelGlrfIW6EtDK14ZuXsssLUn+MDqAzTl0ax+RR3T6Ex+ AdSUqukwykBFygsVRx4hJSvMXPVs5n4Kedgo1q4sI804psVdfvrRYZdBw6oP1ThS Kwmz4Xt+M5kWDxATN3q6+vWE+ublNVGrIlZGH45KYUEHN1Wyn+H8WN/h2kMsVxGD bBzZVPau8t4uuO0HB40Tz/9ZRe0uK+hVw2MqJEkWdx+H5L15GhSkfMEOoHbonwFO salMsNZonOb+7feLTT/MGinhJgU0HzNlYqAn8azHZrgSgYKDdaCJ/KCwmJfaEEYY dwweIWPWuqLpZVrdXuwluTWh05qgowIMKQQtq9ZAPrDpdFFM00tRtfAUabl20mvT WO/Aa8CI0sAJK/omasyjsqpMBZflY+Q+ZBGxXmdDEyFeQgJpmfMni3aNY0qH8XsT GQOjy28SisHLIGGmlZ+wPE1wpFBYnrv2C+jLzcTf8MhqkWXoeoSgT5JBPowmYfWI +hY1jnhu74kZrUg12DVJ =dkzp -----END PGP SIGNATURE----- --s5/bjXLgkIwAv6Hi--