This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: Fwd: getenv() in glibc
On Fri, Sep 10, 1999 at 02:11:02PM +0200, Franz Sirl wrote:
> At 13:54 10.09.99 , John Kennedy wrote:
> > Linux akasha 2.2.12 #46 SMP Sun Aug 29 17:05:17 PDT 1999 i686 unknown
> > warlock@akasha: X=3D1 XX=3D2 && ./a.out
> ^^^^
> Note that I didn't write any "&&" in my example, without it the behaviour
> on Linux/PPC (and Linux/SPARC it seems, a bigendian thing?) is just as
> described.
You're right, my test was invalid.
warlock@akasha: (unset X XX && X=1 XX=2 /tmp/a.out)
1
2
Just looking for a simple solution. (: Looks like Andreas Schwab
has sent an email with an actual fix for the targeted architectures.
PGP signature