From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26506 invoked from network); 7 Jan 2008 19:44:35 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 7 Jan 2008 19:44:35 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 89120 invoked from network); 7 Jan 2008 19:44:31 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Jan 2008 19:44:31 -0000 Received: (qmail 5862 invoked by alias); 7 Jan 2008 19:44:27 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24367 Received: (qmail 5849 invoked from network); 7 Jan 2008 19:44:26 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 7 Jan 2008 19:44:26 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id D3B9F8058FF2 for ; Mon, 7 Jan 2008 20:44:24 +0100 (CET) Received: from acolyte.scowler.net (acolyte.scowler.net [216.254.112.45]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Mon, 7 Jan 2008 20:44:24 +0100 (CET) Received: by acolyte.scowler.net (Postfix, from userid 1000) id D1F0F5D0C8; Mon, 7 Jan 2008 14:44:21 -0500 (EST) Date: Mon, 7 Jan 2008 14:44:21 -0500 From: Clint Adams To: Peter Stephenson Cc: Zsh Subject: possible glibc bug with buffers [was Re: 4.3.4-dev-6] Message-ID: <20080107194421.GA26236@scowler.net> Mail-Followup-To: Peter Stephenson , Zsh References: <5951.1198159661@csr.com> <20071220205823.GD6125@scowler.net> <20071221184932.cab2d9a9.p.w.stephenson@ntlworld.com> <20071222180931.GA28147@scowler.net> <20080103170824.e3b1df78.p.w.stephenson@ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080103170824.e3b1df78.p.w.stephenson@ntlworld.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV using ClamSMTP 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.