grep-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tests: triple-backref: print a reference to glibc bug


From: Jim Meyering
Subject: Re: [PATCH] tests: triple-backref: print a reference to glibc bug
Date: Fri, 18 Sep 2020 10:03:39 -0700

On Fri, Sep 18, 2020 at 9:28 AM Paul Eggert <eggert@cs.ucla.edu> wrote:
> On 9/18/20 8:02 AM, Jim Meyering wrote:
> > +# Clear this, so glibc doesn't bother to produce a core dump.
> > +MALLOC_CHECK_=
>
> Doesn't that need an 'export MALLOC_CHECK_' too?

"export" is not needed.
It is intended to override only if someone has already exported.
In that case, setting the variable even without "export" updates the
environment:

$ dash -c 'export a=a; a=b; printenv a'
b



reply via email to

[Prev in Thread] Current Thread [Next in Thread]