Apply by doing:
cd /usr/src
patch -p0 < 020_cvs.patch
And then rebuild and install cvs:
cd gnu/usr.bin/cvs
make -f Makefile.bsd-wrapper obj
make -f Makefile.bsd-wrapper
make -f Makefile.bsd-wrapper install
/* Check for a trailing '/'. This is not ISDIRSEP because \ in the
@@ -994,6 +991,9 @@
"E protocol error: invalid directory syntax in %s", dir);
return;
}
+
+ if (dir_name != NULL)
+ free (dir_name);