From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Matthias Kopfermann <matthi@infodrom.north.de>
Cc: Zsh-Workers <zsh-workers@sunsite.dk>
Subject: Re: crashing bug here with LANG=C printf "%1.1f" 23.2
Date: Wed, 07 Jul 2004 09:59:06 +0200 [thread overview]
Message-ID: <22171.1089187146@trentino.logica.co.uk> (raw)
In-Reply-To: <20040707004644.GA9512@finlandia.infodrom.north.de>
Matthias Kopfermann wrote:
>
> for ((i=1;i<100;i+=.01)) ; { LANG=C printf "%1.1f\n" $i ; }
> gives me a segfault instantly here.
> the same can happen when just doing LANG='C' printf "%1.1f\n" 23.2
Seems that can be simplified a bit to get the seg fault. The following
seems to be sufficient:
zsh -f
LANG=C echo hello
LANG=C echo hello
Use of the "LANG" environment variable is significant.
Oliver
next prev parent reply other threads:[~2004-07-07 8:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-07 0:46 crashing bug here with LANG=C printf "%1.1f\n" 23.2 Matthias Kopfermann
2004-07-07 7:59 ` Oliver Kiddle [this message]
2004-07-07 14:52 ` PATCH: " Peter Stephenson
2004-07-07 15:11 ` PATCH: test for crashing bug here with LANG=C printf Peter Stephenson
2004-07-07 16:22 ` PATCH: crashing bug here with LANG=C printf "%1.1f\n" 23.2 Bart Schaefer
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=22171.1089187146@trentino.logica.co.uk \
--to=okiddle@yahoo.co.uk \
--cc=matthi@infodrom.north.de \
--cc=zsh-workers@sunsite.dk \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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 NNTP newsgroup(s).