[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] {print,}env -0
From: |
Jim Meyering |
Subject: |
Re: [RFC] {print,}env -0 |
Date: |
Wed, 28 Oct 2009 13:54:49 +0100 |
Eric Blake wrote:
> According to Jim Meyering on 10/28/2009 5:56 AM:
>> And to add to the fun, on Solaris 10 I see this baloney:
>>
>> $ /bin/env a=b=c /usr/ucb/printenv a=b
>> b=c
>
> Wow. So now that tcsh isn't the only other implementation, and since the
> behavior is different between the two buggy implementations, we're
> justified in this patch. OK to commit?
Yes, please.
Thank you.
>>From d0c5ae636c07babdf2041f204c71c212ecd99684 Mon Sep 17 00:00:00 2001
> From: Eric Blake <address@hidden>
> Date: Wed, 28 Oct 2009 06:21:24 -0600
> Subject: [PATCH] printenv: ignore bogus variable names
>
> Exposed by env a=b=c printenv a=b.
>
> * src/printenv.c (main): Silently reject = in names.
> * tests/misc/printenv: Test for it.
> * NEWS: Document this.
- Re: [RFC] {print,}env -0, (continued)
- Re: [RFC] {print,}env -0, Jim Meyering, 2009/10/26
- Re: [RFC] {print,}env -0, Bauke Jan Douma, 2009/10/26
- Re: [RFC] {print,}env -0, Jim Meyering, 2009/10/27
- Re: [RFC] {print,}env -0, Eric Blake, 2009/10/27
- Re: [RFC] {print,}env -0, Pádraig Brady, 2009/10/27
- Re: [RFC] {print,}env -0, Jim Meyering, 2009/10/27
- Re: [RFC] {print,}env -0, Eric Blake, 2009/10/27
- Re: [RFC] {print,}env -0, Pádraig Brady, 2009/10/28
- Re: [RFC] {print,}env -0, Jim Meyering, 2009/10/28
- Re: [RFC] {print,}env -0, Eric Blake, 2009/10/28
- Re: [RFC] {print,}env -0,
Jim Meyering <=