From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11049 invoked from network); 19 Apr 2008 18:35:28 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) 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.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Apr 2008 18:35:28 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 42582 invoked from network); 19 Apr 2008 18:35:24 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Apr 2008 18:35:24 -0000 Received: (qmail 7084 invoked by alias); 19 Apr 2008 18:35:20 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24850 Received: (qmail 7067 invoked from network); 19 Apr 2008 18:35:19 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 19 Apr 2008 18:35:19 -0000 Received: from dot.blorf.net (dsl-74-220-69-132.cruzio.com [74.220.69.132]) by bifrost.dotsrc.org (Postfix) with ESMTP id 7DCFB808A37A for ; Sat, 19 Apr 2008 20:35:15 +0200 (CEST) Received: by dot.blorf.net (Postfix, from userid 1000) id C83091EEB; Sat, 19 Apr 2008 11:35:41 -0700 (PDT) Date: Sat, 19 Apr 2008 11:35:41 -0700 From: Wayne Davison To: Bart Schaefer Cc: zsh-workers@sunsite.dk Subject: Re: [PATCH] history locking with fcntl Message-ID: <20080419183541.GA25080@blorf.net> References: <20080415153120.GE1223@prunille.vinc17.org> <20080417162307.GB22594@blorf.net> <20080418005959.GB1067@prunille.vinc17.org> <20080419023155.GB23964@blorf.net> <080418222312.ZM11316@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <080418222312.ZM11316@torch.brasslantern.com> User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-Virus-Scanned: ClamAV 0.91.2/6834/Fri Apr 18 23:09:50 2008 on bifrost X-Virus-Status: Clean On Fri, Apr 18, 2008 at 10:23:12PM -0700, Bart Schaefer wrote: > I don't think there is a "real error" in the sense of a -1 return from > a system call and/or an errno value. I'm assuming that there is based on this in the original report: zsh: failed to write history file /home/vlefevre/.zhistory: bad file descriptor This seems to indicate that an open() call failed for some reason, but the fdopen() call masked the error. ..wayne..