PUTENV works fine if debugged with insight gdb but fails if in a standalone program !

gilles bourgeois g_bourgeois@voila.fr
Tue Mar 4 15:34:00 GMT 2003


hi folks,
i am using getenv/putenv from stdlib (my source comes from UNIX world).
the point is that getenv works fine, but I CANNOT modify variables with PUTENV !!
Actually, if I debug with "insight gdb" a little foo.c using setenv , it works fine !!!
I really do not undestand why (I suppose it is a question of shell environment) , so 
I wonder if some of you ever succeed with a simple putenv wriiten in a tiny C program ?
thanks 
gilles
------------------------------------------
Faites un voeu et puis Voila ! www.voila.fr 
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /