bug in getenv/putenv on linuxppc/G4
Jon A. Christopher
jon at amanda.tamu.edu
Mon Nov 1 19:02:55 EST 1999
I've just discovered a bug in either getenv (probably) or putenv (less
likely) on linuxppc on a G4, glibc-2.1.1-6c.
The attached test program demonstrates the bug. Basically, using putenv
to add a variable to the environment whose name is only one letter long
and then using getenv to read it doesn't work.
Variables with two or more letters are processed as normal.
I'm not sure if this is a glibc or a linuxppc problem, but I don't have
teh same problem on my intel RH 5.2 box, or any other unix I've ever heard
Please CC replies to me, since I'm not on this list.
Dr. Jon A. Christopher / jac8792 at tamu.edu | Project URLs:
Department of Biochem./Biophys. / spock: http://quorum.tamu.edu/spock
Texas A&M University MS-2128 / lesstif: http://www.lesstif.org/
College Station, TX, 77843 / personal: http://quorum.tamu.edu/jon
-------------- next part --------------
/* doesn't work on ppc, but should */
/* works on ppc */
More information about the Linuxppc-dev