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 of. -jon Please CC replies to me, since I'm not on this list. -- Dr. Jon A. Christopher / jac8792@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