I just suggest maybe passing setenv and putenv down to C lib is better.
Xuesong Guo
-----Original Message----- From: 'Martin Baehr' [mailto:mbaehr@email.archlab.tuwien.ac.at] Sent: Friday, August 31, 2007 3:56 PM To: PeterPan Subject: Re: setenv and putenv
On Fri, Aug 31, 2007 at 03:51:48PM +0800, PeterPan wrote:
I wrote a Cmod using FastCGI, the c code of libfcgi changed the real env, but the real env is not visible in pike.
not sure how i can help, please send your reply to the list.
greetings, martin.
I'm not sure what you mean with "real env". Do you mean the "environment" libc uses for putenv/getenv?
I'm all for having libc getenv/putenv under the System module, if anyone needs to use those.
YES: the "environment" libc uses for putenv/getenv.
but getenv/putenv are not found in the System module. Do you mean the CVS version?
-----Original Message----- From: pike-devel-bounces@lists.lysator.liu.se [mailto:pike-devel-bounces@lists.lysator.liu.se] On Behalf Of Mirar @ Pike developers forum Sent: Friday, August 31, 2007 4:25 PM To: pike-devel@lists.lysator.liu.se Subject: RE: setenv and putenv
I'm not sure what you mean with "real env". Do you mean the "environment" libc uses for putenv/getenv?
I'm all for having libc getenv/putenv under the System module, if anyone needs to use those.
pike-devel@lists.lysator.liu.se