Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
	autolearn=ham autolearn_force=no version=3.4.1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=brasslantern-com.20150623.gappssmtp.com; s=20150623;
        h=from:message-id:date:in-reply-to:comments:references:to:subject
         :mime-version;
        bh=Je4qEELwDeo/neu6rmBwwycxg5jPYA3oQLezGziDyAU=;
        b=irXSFhJLn1jQEkTy5/Vn+2/ke5fYcJD4iHLOAUyQEirRHa4HFicyJ24/XDDzXkCU6m
         WRkntoPfeZAaEIN8M241LIm05aWBgCfFn7Jm3MR9EyDfNE9inuwldulWqzRsRx32O568
         osA3NA7tsGWL06kzl90ToLT8Ko57FUqZ84wYq18okiZ0CP0Gs9wx5tlobWUbIQD6Llzw
         lmLDS0RPE+OUSjfgNHcpg8VEmA7HrrykTvISvjoqHb7mISIZCTz6Bfe3bij8UqZqAS+c
         qOAQJ9Eg0x22uU9slQWZDaUNAZ7PiCVulFKksOOBEwjeJBtgtxoGHWn2gwfWef9cxm+Q
         n20Q==
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;
        bh=Je4qEELwDeo/neu6rmBwwycxg5jPYA3oQLezGziDyAU=;
        b=dXBhZpV1URmE4/clKcEAX7RJFj1F+ve4p8/eu0kOq9/jihb51pXToc5Xie7b2AJEOJ
         R9IrZK31XdwQcS6eKLCZBtcQgnmcukWK5W46y91xnt1v2FLRsb0g4jkWjN4ZrNGPX4dH
         cIhE2RLO/dX+sY9rVX7NLJxWggYuC0k8yRQVN1MvInQ+UH+0IC3opBjQLLbhCgIS1rLH
         9SZIzgAqfEpJqoap+MNL27APaFndSkafkgHpXpqekGyhATPAltzAIeEX0u3kATTLeRAr
         Ss2oLU3ynQNWeaQzoO9JPOSZYnEuw4m2f2N1hUWX6sEAtIQlJ7qMdOVd0QOPe3eopEuf
         I+aw==
X-Gm-Message-State: AOPr4FU1z6JQHAww2jfSNPr3WDA91W5GpEYbvJ/daokZdFcDMF9YR0bs8oHKgt2Hj5HmpA==
X-Received: by 10.66.82.166 with SMTP id j6mr50420146pay.140.1462805523085;
        Mon, 09 May 2016 07:52:03 -0700 (PDT)
From: Bart Schaefer <schaefer@brasslantern.com>
Message-Id: <160509075252.ZM13350@torch.brasslantern.com>
Date: Mon, 9 May 2016 07:52:52 -0700
In-Reply-To: <20160509101105.759bc085@pwslap01u.europe.root.pri>
Comments: In reply to Peter Stephenson <p.stephenson@samsung.com>
        "Re: leading '=' in enviroment variable truncated" (May  9, 10:11am)
References: <CAEyFG7ZkxS9iuVtEoJT2aa_ErBm=Nm6JqkpSgt=-=3P-nuZBtg@mail.gmail.com> 
	<160508105949.ZM9904@torch.brasslantern.com> 
	<20160508201217.5924511a@ntlworld.com> 
	<160508132406.ZM10234@torch.brasslantern.com> 
	<20160508212858.384e3dbf@ntlworld.com> 
	<160508145807.ZM10454@torch.brasslantern.com> 
	<CAH+w=7Ywz41S3-z=Q62_pwSApkFKNgdt7S6_baed0Aio54hdvA@mail.gmail.com> 
	<20160509101105.759bc085@pwslap01u.europe.root.pri>
X-Mailer: OpenZMail Classic (0.9.2 24April2005)
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: leading '=' in enviroment variable truncated
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Seq: zsh-workers 38446

On May 9, 10:11am, Peter Stephenson wrote:
}
} On Sun, 08 May 2016 15:16:46 -0700
} Bart Schaefer <schaefer@brasslantern.com> wrote:
} > However, even if I change the "setsnv" to "setenv" the test still gets
} > the wrong results.
} 
} Mostly that's headers, but it doesn't look it's trivial to fix in
} general without access to the system.  You could try #include <stdlib.h>
} if you felt like it, but probably not worth it.

If anybody else wants to take a stab at this, please do, otherwise I'm
going to push the simpler patch with !defined(__APPLE__).

