This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
PUTENV works fine if debugged with insight gdb but fails if in a standalone program !
- From: "gilles bourgeois" <g_bourgeois at voila dot fr>
- To: "cygwin" <cygwin at cygwin dot com>
- Date: Tue, 4 Mar 2003 16:33:01 +0100
- Subject: PUTENV works fine if debugged with insight gdb but fails if in a standalone program !
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/