From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2742 invoked by alias); 17 Jun 2015 00:12:24 -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: 35498 Received: (qmail 11018 invoked from network); 17 Jun 2015 00:12:22 -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=M9Eow6+G/KAiWbvM831Ny8SvESWZXsruUNbIZhYH6t4=; b=IRJZQPc+MqdJTelG3VrwY4yqm4ti1g5cL3dPVFAIj6kahsZs4HW4lkNtjzz3SINt0T R888yy7r5TfBvUKYsXqEWzWlt8JXiU1IULqHgWrGmXsdyC2+aYj+ITchLRNruskohHDW BEUvdv1HBhIIrQ5pfjG+G9G6g8UB6eFFvc3vVkCTnYaUuuwyl39//Qxg+rjancYBKEKh OyoKjqZLUNQPFb58s8xv8PqtZbJF4LfqNdNOMXbGIYJqJ2iIyhPAeCALflCrnhXhDFv8 wpBhwdctdJmIS6cbXgI/0nWchbcKIq4RWcAeuVC/qXWSzdTPVxzJLnnThzWTQ10c1FKB ajcg== X-Gm-Message-State: ALoCoQkL1rF5k0/bVyc8QOr/dSC87ObZOAA/6oDsPXHZ4E15JGD/MMl8421vvJVZeU0iaCBZBpeN X-Received: by 10.182.43.133 with SMTP id w5mr2344097obl.65.1434499940364; Tue, 16 Jun 2015 17:12:20 -0700 (PDT) From: Bart Schaefer Message-Id: <150616171217.ZM28182@torch.brasslantern.com> Date: Tue, 16 Jun 2015 17:12:17 -0700 In-Reply-To: Comments: In reply to Mikael Magnusson "Re: PATCH: Allow setting $0 when POSIX_ARGZERO is not set" (Jun 17, 1:46am) References: <1434411879-12403-1-git-send-email-mikachu@gmail.com> <150615205044.ZM25959@torch.brasslantern.com> <150616085841.ZM26951@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 17, 1:46am, Mikael Magnusson wrote: } Subject: Re: PATCH: Allow setting $0 when POSIX_ARGZERO is not set } } 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? I had already committed mine, then had a bit of a problem resolving the ChangeLog diffs when you pushed 54c2c442eeee46b28d5596e7e83812df01d1f13f (for which by the way you left out the article number in the commit log message). Anyway 35482 is pushed now.