Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
possible glibc bug with buffers [was Re: 4.3.4-dev-6]
- X-seq: zsh-workers 24367
- From: Clint Adams <clint@xxxxxxx>
- To: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- Subject: possible glibc bug with buffers [was Re: 4.3.4-dev-6]
- Date: Mon, 7 Jan 2008 14:44:21 -0500
- Cc: Zsh <zsh-workers@xxxxxxxxxx>
- In-reply-to: <20080103170824.e3b1df78.p.w.stephenson@xxxxxxxxxxxx>
- Mail-followup-to: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>, Zsh <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <5951.1198159661@xxxxxxx> <20071220205823.GD6125@xxxxxxxxxxx> <20071221184932.cab2d9a9.p.w.stephenson@xxxxxxxxxxxx> <20071222180931.GA28147@xxxxxxxxxxx> <20080103170824.e3b1df78.p.w.stephenson@xxxxxxxxxxxx>
On Thu, Jan 03, 2008 at 05:08:24PM +0000, Peter Stephenson wrote:
> I'm not getting that last "foo"; could there be a race somewhere, or a
> non-standard configuration option set that's doing something odd with
> file descriptors, or something nasty in the compilation tree?
My current understanding of the situation is as follows:
bash, ksh, and zsh behave normally under glibc 2.3
under glibc 2.7, ksh behaves normally
bash does this
$ echo one >/dev/full
bash: echo: write error: No space left on device
$ echo two
one
two
and zsh does this
% echo one >/dev/full
echo: write error: no space left on device
one
% echo two
two
I can't reproduce this with a simple fprintf-ing to /dev/full.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author