Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 4 Mar 2003 16:33:01 +0100 Message-Id: Subject: =?iso-8859-1?Q?PUTENV_works_fine_if_debugged_with_insight_gdb_but_fails_if_in_a_standalone_program_!?= MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 From: "=?iso-8859-1?Q?gilles_bourgeois?=" To: "=?iso-8859-1?Q?cygwin?=" X-XaM3-API-Version: 3.2 R27 (B52-pl1) X-type: 0 X-SenderIP: 62.147.212.59 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h24Fapl04462 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/