Hi, I am submitting a small patch for opencvs...
* Static variable cvs_client_logon is only used in cvs_client_initlog() so make it local to this function This is a similar change to annotate.c r1.63. - Michael Index: client.c =================================================================== RCS file: /cvs/src/usr.bin/cvs/client.c,v retrieving revision 1.123 diff -u -r1.123 client.c --- client.c 29 Sep 2010 18:14:52 -0000 1.123 +++ client.c 1 Jan 2013 05:37:06 -0000 @@ -120,7 +120,6 @@ * File descriptors for protocol logging when the CVS_CLIENT_LOG environment * variable is set. */ -static int cvs_client_logon = 0; int cvs_client_inlog_fd = -1; int cvs_client_outlog_fd = -1; @@ -1030,6 +1029,7 @@ static void cvs_client_initlog(void) { + static int cvs_client_logon = 0; u_int i; char *env, *envdup, buf[MAXPATHLEN], fpath[MAXPATHLEN]; char rpath[MAXPATHLEN], timebuf[CVS_TIME_BUFSZ], *s;