[Top][All Lists]

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


From: Larry Jones
Subject: Re: CVS_SERVER
Date: Tue, 14 Aug 2001 14:41:26 -0400 (EDT)

Greg A. Woods writes:
> [ On Wednesday, August 1, 2001 at 15:09:13 (-0700), Mark D. Baushke wrote: ]
> > Subject: Re: CVS_SERVER 
> > 
> >  1) The default CVS_SERVER value is either 'cvs' or argv[0] depending
> >     on how the ARGV0_NOT_PROGRAM_NAME macro is defined in main.c
> >     The names are sometimes different if the client and server are
> >     heterogeneous machines with regard to hardware and/or operating
> >     systems (eg, UNIX client and VMS server).
> What does that have to do with anything in this thread?  That hack is
> simply a way to mangle program_name back into something recognisable by
> the user.  I.e. it's the opposite of anything to do with CVS_SERVER.  So
> far as I can tell neither argv[0] nor program_name are ever used on any
> platform as the default name of the program to invoke as the server --
> that's always $CVS_SERVER, or if it's not set then the hard-coded string
> "cvs" is used in every case.

No, somewhere along the line I got tired of forgetting to set
$CVS_SERVER when testing new versions of CVS and changed the default
from "cvs" to program_path, which is a copy of argv[0].  It is *NOT*
adjusted according to ARGV0_NOT_PROGRAM_NAME, but perhaps it should be.

-Larry Jones

TIME?!  I just finished the first problem! -- Calvin

reply via email to

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