From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19372 invoked by alias); 18 Aug 2015 11:11:40 -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: 36221 Received: (qmail 21844 invoked from network); 18 Aug 2015 11:11:39 -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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM 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=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=Et41rclHzWNK2cWfanWYvcO9oRHD0V3pmaqEhK9CkNU=; b=N4wJ4jhknABSvSPprxPu5Ab7Erg6VyPcELeuU36OSQ7fPKT4PzvfNxCcB18JtkkDlh M97PNeoc2pjutZLKCmxnO31mwyq94IrN/nYNEtv7pVHG0kYMPKXmLz/p5F0NX0uK2GR1 Axn6jaOsPUurynZ6Ej3sLyUKAlDaRITmg29qVfiSAigGQfY3drwwF/nYCDjxzL0ocqU7 owKoGi5U5bcK4ox4XYE+bF6ESTFRlnqAUCLx6yp99fDShFqQ4frU2sURd0ZW5NLRpbgn w12hpZrxlMGwlpM6Fg5aEXKMsRmxEGhPLSX3x2u+UXpADRoi6+zcHkMAJ5OV+dyUHZou ox1A== X-Received: by 10.180.74.52 with SMTP id q20mr43474818wiv.94.1439896296267; Tue, 18 Aug 2015 04:11:36 -0700 (PDT) Date: Tue, 18 Aug 2015 12:11:34 +0100 From: Stephane Chazelas To: Peter Stephenson Cc: Zsh hackers list Subject: Re: mkdir builtin and $'\0' Message-ID: <20150818111134.GA5629@chaz.gmail.com> Mail-Followup-To: Peter Stephenson , Zsh hackers list References: <20150818091904.GA5389@chaz.gmail.com> <20150818104911.034b6705@pwslap01u.europe.root.pri> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150818104911.034b6705@pwslap01u.europe.root.pri> User-Agent: Mutt/1.5.21 (2010-09-15) 2015-08-18 10:49:11 +0100, Peter Stephenson: [...] > Looks like a long-standing mistake --- the unmetafied form of the > variable wasn't propagated everywhere. A quick scan elsewhere suggests > this is just a one-off (I haven't confirmed in detail). > diff --git a/Src/Modules/files.c b/Src/Modules/files.c [...] Thanks, but see also the rest of my email about cd/chdir and the note about inconsistent error message. More generally, it may be a good idea to review all the cases where $'\0' would not be acceptable. And also those where $'\0' would be acceptable. Found another one: $ strftime $'%Y\0%m\0%d' 0 | sed -n l 1970\203 01\203 01$ -- Stephane