This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]