| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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: | <HB8DV1$429201F82309E77285E9D2A7DA88B99C@voila.fr> |
| 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 |
| From: | "=?iso-8859-1?Q?gilles_bourgeois?=" <g_bourgeois AT voila DOT fr> |
| To: | "=?iso-8859-1?Q?cygwin?=" <cygwin AT cygwin DOT com> |
| X-XaM3-API-Version: | 3.2 R27 (B52-pl1) |
| X-type: | 0 |
| X-SenderIP: | 62.147.212.59 |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |