Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: crashing bug here with LANG=C printf "%1.1f" 23.2
- X-seq: zsh-workers 20138
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Matthias Kopfermann <matthi@xxxxxxxxxxxxxxxxx>
- Subject: Re: crashing bug here with LANG=C printf "%1.1f" 23.2
- Date: Wed, 07 Jul 2004 09:59:06 +0200
- Cc: Zsh-Workers <zsh-workers@xxxxxxxxxx>
- In-reply-to: <20040707004644.GA9512@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20040707004644.GA9512@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author