raindrops RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Hleb Valoshka <375gnu@gmail.com>
To: raindrops-public@bogomips.org
Subject: Re: [PATCH] test/test_linux.rb: use plain ASCII in tempfile name
Date: Mon, 22 Feb 2016 21:28:57 +0300	[thread overview]
Message-ID: <CAAB-Kc=6rRd=2pEN5HYB4s6CvBcwee8XnSgJ9oatr2RL0_134g@mail.gmail.com> (raw)
In-Reply-To: <1456163396-21079-1-git-send-email-terceiro@softwarelivre.org>

On 2/22/16, Antonio Terceiro <terceiro@softwarelivre.org> 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 ASCII-8BIT
> script
> -    tmp = Tempfile.new("\xde\xad\xbe\xef") # valid path, really :)
> +    tmp = Tempfile.new('raindrops')

I suspect that such names were created intentionally, so your patch
may not be correct.

  reply	other threads:[~2016-02-22 18:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-22 17:49 [PATCH] test/test_linux.rb: use plain ASCII in tempfile name Antonio Terceiro
2016-02-22 18:28 ` Hleb Valoshka [this message]
2016-02-23  1:51   ` Eric Wong
2016-02-23 11:00     ` Antonio Terceiro
2016-02-29 12:47       ` Eric Wong
2016-03-01 12:01         ` Antonio Terceiro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://yhbt.net/raindrops/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAB-Kc=6rRd=2pEN5HYB4s6CvBcwee8XnSgJ9oatr2RL0_134g@mail.gmail.com' \
    --to=375gnu@gmail.com \
    --cc=raindrops-public@bogomips.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).