[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding a new CVS_PID environment variable

From: Larry Jones
Subject: Re: adding a new CVS_PID environment variable
Date: Sat, 8 Mar 2003 17:05:46 -0500 (EST)

Mark D. Baushke writes:
> The extra processing consists of a getpid() call that is already being
> done in the server side of the code and a setenv() call so that children
> processes inherit the environment variable. If this is too much, I
> suppose a configure option could be introduced to do this extra work
> only when the user wants it done and it could default to off.

I'm convinced this is worth doing.  As you say, we're already doing the
getpid() call to name the server's temp directory, so all that's needed
is to add the call to putenv() to stuff it in the environment.  I'd say
go ahead and do it (just be sure to check for HAVE_PUTENV around the

-Larry Jones

Hmm... That might not be politic. -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]