From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18614 invoked from network); 19 Apr 2008 05:23:44 -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 05:23:44 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 20043 invoked from network); 19 Apr 2008 05:23:40 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Apr 2008 05:23:40 -0000 Received: (qmail 20503 invoked by alias); 19 Apr 2008 05:23:37 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24847 Received: (qmail 20483 invoked from network); 19 Apr 2008 05:23:36 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 19 Apr 2008 05:23:36 -0000 Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by bifrost.dotsrc.org (Postfix) with ESMTP id B174C808A379 for ; Sat, 19 Apr 2008 07:23:33 +0200 (CEST) Received: from torch.brasslantern.com ([71.116.74.146]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JZK00CMT4AQV720@vms042.mailsrvcs.net> for zsh-workers@sunsite.dk; Sat, 19 Apr 2008 00:23:15 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id m3J5NCdZ011318 for ; Fri, 18 Apr 2008 22:23:13 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id m3J5NCXL011317 for zsh-workers@sunsite.dk; Fri, 18 Apr 2008 22:23:12 -0700 Date: Fri, 18 Apr 2008 22:23:12 -0700 From: Bart Schaefer Subject: Re: [PATCH] history locking with fcntl In-reply-to: <20080419023155.GB23964@blorf.net> To: zsh-workers@sunsite.dk Message-id: <080418222312.ZM11316@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <20080415153120.GE1223@prunille.vinc17.org> <20080417162307.GB22594@blorf.net> <20080418005959.GB1067@prunille.vinc17.org> <20080419023155.GB23964@blorf.net> Comments: In reply to Wayne Davison "Re: [PATCH] history locking with fcntl" (Apr 18, 7:31pm) X-Virus-Scanned: ClamAV 0.91.2/6834/Fri Apr 18 23:09:50 2008 on bifrost X-Virus-Status: Clean On Apr 18, 7:31pm, Wayne Davison wrote: } } On Fri, Apr 18, 2008 at 02:59:59AM +0200, Vincent Lefevre wrote: } > If I do not set the option (which is equivalent to not using the patch), } > then I get immediate history corruption when using two machines (well, } > at least 64-bit ones), 100% reproducible. } } Cool. Then it will be easy for you to get the real error now 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 think everything appears to succeed as seen from the C code, but the file is corrupted anyway. I hope (in some sense) that I turn out to be wrong.