[ On Thursday, August 3, 2000 at 12:21:26 (-0400), Rich Salz wrote: ]
> Subject: Re: CVS pids and the pids of its kids
>
> Seems to me the easiest fix is to add something like this to the
> top of main()
> {
> char pidbuf[64];
> sprintf(pidbuf, "CVSPID=%lu", (unsigned long)getpid());
> putenv(pidbuf);
> }
>
> It seems to me that this also works for CVS server, but I'm not sure.
Yeah, I planned on doing that a long time ago so that I could do away
with perl scripts, but ended up not really doing much with my rewrite of
commit_prep and loginfo.... Maybe on the next big CVS project! ;-)
--
Greg A. Woods
+1 416 218-0098 VE3TCP <[EMAIL PROTECTED]> <robohack!woods>
Planix, Inc. <[EMAIL PROTECTED]>; Secrets of the Weird <[EMAIL PROTECTED]>