I think it's not a good thing to modify the data that the getenv call returns.
This page mentions that "The application shall ensure that it does not
modify the string pointed to by the getenv() function.":
http://www.opengroup.org/onlinepubs/000095399/functions/getenv.html
Regards,
-- Johan Boule
Original issue reported on code.google.com by johan.bo...@retropaganda.info on 6 Mar 2010 at 12:42
Original issue reported on code.google.com by
johan.bo...@retropaganda.info
on 6 Mar 2010 at 12:42