Seán C. Farley <sean-freebsd at farley.org> writes: > How does this version look? Needlessly complicated. I'd just copy the entire environment into malloc()ed space the first time setenv() or putenv() is called. DES -- Dag-Erling Smørgrav - des at des.no