X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=Dxz66UqKkS81TJv/dmyEMOlWBmi+soRZNxd1h7zPvdmDIhWzKVLbd PRyWLgIkp4c3Uz6LKmMCohXyLjfiNgB2EHFYARb0QGhk0bCINq/pjSDbN/9QZqgU EvJQdq11TgcBOh+Id7Sokh+sJ3MLQpXE911jWnE7xY3ioXE3W3snsE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=sZd6bVHu9qwgVHw45vyr9d+UnZI=; b=fnUHLNRu/OpDDO9C4tSzvoK1yDMw 8UwTjQkuvWFRTNcR69vaL41pxpzNlGJuUSkYmn1re7JyWiBeVzEBT94BnCBUrER5 sUQ43M8+kggQDCS70rymyscNiN5d8Ztq2iw/3KBCeG9tRyc6hKnGIoX3j2jkiW0K toFTQjss8Fi/uls= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Date: Mon, 30 Mar 2015 13:04:46 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT 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 AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT 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) --s5/bjXLgkIwAv6Hi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 -----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--