--- Comment #2 from charles dot w dot lambert at gmail dot com 2008-02-27
16:32 ---
I can confirm this bug against gcc 4.2.3 and gcc 4.3.0 on os x (10.5.2).
Apparently apple has changed the way that putenv is handled. From the `man 3
getenv` page i quote:
"COMPATIBILITY
p
--- Comment #4 from charles dot w dot lambert at gmail dot com 2008-02-27
18:16 ---
I agree, what flags can be used to determine when to use it?
I used
...
#elif (defined (__vxworks) && defined (__RTP__)) \
|| (defined (__i386__) && (__APPLE__))
setenv (name, v
--- Comment #5 from charles dot w dot lambert at gmail dot com 2008-02-27
18:20 ---
I also forgot to add that changing to
...
#elif (defined (__vxworks) && defined (__RTP__)) \
|| defined (__APPLE__)
setenv (name, value, 1);
#else
...
would involve changing
...