From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9737 invoked by alias); 16 Jun 2015 23:46:18 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35497 Received: (qmail 10064 invoked from network); 16 Jun 2015 23:46:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=HFhs1KF0B5QBFfEZ818BpzDnwb27R/JEgjZVoLBwSAM=; b=sVpJopBSrCGew+c1xIWOPApvE8PT/+UFpqzDFBU1qwutuMCzuywILxU5UkajA3irAr 9TLZYo/kO6TjGznEIQx/CyP6mqOXzbbFm2Gh0M7YtaUxiAEuLyT7iNX5Lm/lf94jP5uO Cv4/YZAxakWcJT5G5fS598mNjiUFO4w8iC6eGe4kPdjPcg4L3OnGkjhBipNGhoQHtvLo D5bdTEiNheFYeNsao18SIyzHihjS+x+L1k6R0IvD41UpxK+VyoOj5hHo5mOpTZ9GIE4e /IO5TxQadW9a7mdrBtqqkuzcSEKuAAoun3FK71e504mjZzx8iwIp4bWlz79Gj7YzkX3Q xe5g== MIME-Version: 1.0 X-Received: by 10.50.90.179 with SMTP id bx19mr31095563igb.43.1434498374155; Tue, 16 Jun 2015 16:46:14 -0700 (PDT) In-Reply-To: <150616085841.ZM26951@torch.brasslantern.com> References: <1434411879-12403-1-git-send-email-mikachu@gmail.com> <150615205044.ZM25959@torch.brasslantern.com> <150616085841.ZM26951@torch.brasslantern.com> Date: Wed, 17 Jun 2015 01:46:14 +0200 Message-ID: Subject: Re: PATCH: Allow setting $0 when POSIX_ARGZERO is not set From: Mikael Magnusson To: Bart Schaefer Cc: zsh workers Content-Type: text/plain; charset=UTF-8 On Tue, Jun 16, 2015 at 5:58 PM, Bart Schaefer wrote: > On Jun 16, 8:25am, Mikael Magnusson wrote: > } > } > There are probably other race conditions if a signal were to arrive > } > while the shell is still initializing state. Maybe we should get a > } > queue_signals() in there somewhere early. > } > } Oh, in that case maybe it's a lot more trouble than it's worth... > > Sorry, the "other race conditions" part has nothing to do with setting > argzero, I was merely commenting that if I noticed a race in this part > of the initialization code there are probably races elsewhere as well. Okay, so it should be fine to push both of the patches in the thread? -- Mikael Magnusson