From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 406 invoked by alias); 16 Jun 2015 15:58:48 -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: 35489 Received: (qmail 13267 invoked from network); 16 Jun 2015 15:58:47 -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.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=hiKNGPeaIp285DUn6eMKe6AE0n7RS73fjZ0MTIF+Pe8=; b=hSbav2tqSqJIPmZ7yLUJ5uoUwk6EymrLFqKmd4aQN3L64ICGMRU68CDk2eQkOHHvik owKgAUpnpRq8TOb5yNFS+6JlT6eVVOSy88Ok2erG1UD9BW88ENZSRGHGzNqS2en9hJPZ 1tbgn7npz0J6lRRC5H/s9YafbPgsDmGJSgNazVtcHfHHqOqjz9o5I57qNEZkjmuGT3yt vKCMmuNwPhNTPjdVzOqp6B5rQsBRD2/Fg4Uw8huVRbiKFiyn75VsSqAaqJ7CqoQIjgI+ lfB1EfVe4vvt7Mlql1eehmf1nH69ZYv9POiiGqE1NVSAezuNp0exFfafQ7vOv2CCygey S4qw== X-Gm-Message-State: ALoCoQkzc1d8VhuTSbx82YX1fplGSkg1o2owyzNzjgm6DrL5c/WQ+yQ87mh7F8UNNTRkENteQICs X-Received: by 10.202.184.3 with SMTP id i3mr781959oif.61.1434470324583; Tue, 16 Jun 2015 08:58:44 -0700 (PDT) From: Bart Schaefer Message-Id: <150616085841.ZM26951@torch.brasslantern.com> Date: Tue, 16 Jun 2015 08:58:41 -0700 In-Reply-To: Comments: In reply to Mikael Magnusson "Re: PATCH: Allow setting $0 when POSIX_ARGZERO is not set" (Jun 16, 8:25am) References: <1434411879-12403-1-git-send-email-mikachu@gmail.com> <150615205044.ZM25959@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh workers Subject: Re: PATCH: Allow setting $0 when POSIX_ARGZERO is not set MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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.