Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: gregor@hoffleit.de (Gregor Hoffleit)
Subject: [sup-talk] Bug: store_message writes invalid From lines with locales set
Date: Thu, 01 Oct 2009 17:47:17 +0200	[thread overview]
Message-ID: <1254411555-sup-7650@sam> (raw)

Obviously store_message uses the current locale settings to dump the
date into the From line (loader.rb, line 179):

      f.puts "From #{from_email} #{date.utc}"

The result: Using LANG=de_DE, sup crashed on me today when I had sent my
first mail of October. Problem was that sup failed to grok the localized
abbreviated month name ("Okt") in the From line:

    From gregor at hoffleit.de Do Okt 01 14:39:43 UTC 2009

which in turn was written by loader.rb (eat your own food, you know).

Everything worked fine for me in August and September, since those month
names are spelled the same in German and English ;-).


Regards,
    Gregor Hoffleit


             reply	other threads:[~2009-10-01 15:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-01 15:47 Gregor Hoffleit [this message]
2009-10-01 16:38 ` William Morgan
2009-10-02  9:25   ` Gregor Hoffleit

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=1254411555-sup-7650@sam \
    --to=gregor@hoffleit.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox