* client.c (start_rsh_server): get rid of the magic strings for
rsh and cvs -- use new constants RSH_DFLT and CVS_DFLT for their default values and CVS_RSH_ENV and CVS_SERVER_ENV for the environment variable names. (update_entries): use Patchbin instead of PATCH_PROGRAM. * main.c: rename GREPBIN_ENV to GREP_ENV. rename DIFFBIN_ENV to DIFF_ENV. (Patchbin): new global variable, set to PATCH_DFLT. (main): set default Patchbin from getenv(PATCH_ENV). (main): new local variable patchbin_update_env. (main): new option -p to set Patchbin. (main): putenv(PATCH_ENV) if patchbin_update_env. * cvs.h: don't include "options.h" any more. remove mention of things that were mentioned as in options.h. (GREP_ENV): renamed from GREPBIN_ENV, reset to GREP. (DIFF_ENV): renamed from DIFFBIN_ENV, reset to DIFF. (PATCH_ENV): new define, set to PATCH. (Patchbin): declare new global variable. * Makefile.in: remove all trace of options.h. * options.h.in: removed (contents moved to ../acconfig.h).
Loading
Please register or sign in to comment