From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS7465 200.198.160.0/20 X-Spam-Status: No, score=-1.4 required=3.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD, SPF_PASS,URIBL_BLOCKED shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: raindrops-public@bogomips.org Received: from mail.softwarelivre.org (mail.softwarelivre.org [200.198.173.180]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id BED9620455 for ; Tue, 23 Feb 2016 11:00:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.softwarelivre.org (Postfix) with ESMTP id C29847C0CC1; Tue, 23 Feb 2016 08:00:17 -0300 (BRT) Received: from mail.softwarelivre.org ([127.0.0.1]) by localhost (mail.softwarelivre.org [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id PdIQ0MgDEFyM; Tue, 23 Feb 2016 08:00:17 -0300 (BRT) Received: from localhost (localhost [127.0.0.1]) by mail.softwarelivre.org (Postfix) with ESMTP id 3B4DC7C0D70; Tue, 23 Feb 2016 08:00:17 -0300 (BRT) X-Virus-Scanned: amavisd-new at mail.softwarelivre.org Received: from mail.softwarelivre.org ([127.0.0.1]) by localhost (mail.softwarelivre.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wcl61xKWUX6g; Tue, 23 Feb 2016 08:00:17 -0300 (BRT) Received: from winterfell.analizo.org (li627-17.members.linode.com [198.58.116.17]) by mail.softwarelivre.org (Postfix) with ESMTPSA id D74817C0CC1; Tue, 23 Feb 2016 08:00:16 -0300 (BRT) Received: from localhost (unknown [191.250.109.247]) by winterfell.analizo.org (Postfix) with ESMTPSA id 316784DFC9; Tue, 23 Feb 2016 08:00:12 -0300 (BRT) Date: Tue, 23 Feb 2016 08:00:09 -0300 From: Antonio Terceiro To: Eric Wong Cc: Hleb Valoshka <375gnu@gmail.com>, raindrops-public@bogomips.org Subject: Re: [PATCH] test/test_linux.rb: use plain ASCII in tempfile name Message-ID: <20160223110009.GB31015@softwarelivre.org> References: <1456163396-21079-1-git-send-email-terceiro@softwarelivre.org> <20160223015138.GA6672@dcvr.yhbt.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="dTy3Mrz/UPE2dbVg"; micalg="pgp-sha256"; protocol="application/pgp-signature" Content-Disposition: inline In-Reply-To: <20160223015138.GA6672@dcvr.yhbt.net> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: --dTy3Mrz/UPE2dbVg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 23, 2016 at 01:51:38AM +0000, Eric Wong wrote: > Hleb Valoshka <375gnu@gmail.com> wrote: >=20 > Hleb: please reply-to-all, we don't require subscription > since moving off librelist. This also prevents the list server > being a single-point-of-failure(-or-censorship). >=20 > > On 2/22/16, Antonio Terceiro wrote: > > > On Debian, this fixes the build against ruby2.3, which otherwise fails > > > with errors like: > > > > > > RegexpError: /.../n has a non escaped non ASCII character in non ASCI= I-8BIT > > > script > > > - tmp =3D Tempfile.new("\xde\xad\xbe\xef") # valid path, really :) > > > + tmp =3D Tempfile.new('raindrops') > >=20 > > I suspect that such names were created intentionally, so your patch > > may not be correct. >=20 > Right; raindrops should work with any paths the FS may throw at it. I did realize it was on purpose, but didn't have the time to dig it the root cause and wen't with the easiest fix I could find. > I posted an alternate RFC patch for this problem a few weeks ago: >=20 > http://bogomips.org/raindrops-public/20160202183136.21549-1-e@80x24.org/r= aw >=20 > I'm tempted to apply the above as Ruby might continue with existing > behavior. >=20 > Antonio: thoughts? Works for me as well. --=20 Antonio Terceiro http://softwarelivre.org/terceiro --dTy3Mrz/UPE2dbVg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWzDu5AAoJEPwNsbvNRgvee4kP+wevhjswVPWp5GG4YEL0sbaR j60B1XrdBenL/4XwSbiHcQM2oP7IWW52N0u2jCM2iCgW7BC2bMlutwjDiqUXMu6j Ob/YmseZy78xyRjypb6GKQ3P1PGr2jlYDLGpRbRdOSR/tnuSWQoBMZNifnjZE7HV PsVkPae4Gouc6qGWwYjQb7uC8enORTviXxz3zbytSy/0SgE2kiH/LIpgc2zRbr48 Be47mS5ir6gRA+qW5767NVqQTNsbMRhjArLjT34B7mf+wrbXxQmOc5roqWCMQGur Nsd+iVi/C+VMPnCyop4lTzNAxIsBspQy+ZY0jct/VKD6wmno71wyBIdKnMgIyAQO RhP661tEEZegRlRGbxUOsC6QRiBLOis4gykmlaKmBTyiv+71MgAgbgE+IAQ8+w+y w4ldVIPnxTr7KyKgJmh6jg70Rc72xqAw9ZAanjckBE75xq4/JUFzWqME+jsY8GgL OSbK9vmYylkdnglCuSlMc46Sp1jsnLYqzE8WC38iwUVVmGAgCgDPBa6rX5z0azSe 6UTTEyAj+9q5dLJO4laGbl5e4bSj13+bKU6kBAu89iXsrkTtwApOB5H6fSR3eu4U MkiCI2uwXIHMd/5WPUFUo8ErdIQ+3zhKMV3MzTG4vI41S8rSVovRTMtmeAPXNHEA Cxab3RIB0jlA4ZIVCPF9 =kcyP -----END PGP SIGNATURE----- --dTy3Mrz/UPE2dbVg--