Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37889363
en ru br
ALT Linux repos
S:1.11.23-alt9
5.0: 1.11.23-alt1
4.1: 1.11.22-alt3
4.0: 1.11.22-alt2
+updates:1.11.22-alt2
3.0: 1.11.20-alt1

Group :: Development/Other
RPM: cvs

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: cvs-1.11.23-fc-c99.patch
Download


Downstream-only patch.  CVS hasn't had a release since 2008.
diff --git a/lib/getdate.y b/lib/getdate.y
index 0e128d74ef609818..007318cd0aef2623 100644
--- a/lib/getdate.y
+++ b/lib/getdate.y
@@ -1015,7 +1015,7 @@ main(ac, av)
 
     (void)printf("Enter date, or blank line to exit.\n\t> ");
     (void)fflush(stdout);
-    while (gets(buff) && buff[0]) {
+    while (fgets(buff, sizeof(buff) - 1, stdin) && buff[0]) {
 	d = get_date(buff, (struct timeb *)NULL);
 	if (d == -1)
 	    (void)printf("Bad format - couldn't convert.\n");
diff --git a/src/cvs.h b/src/cvs.h
index a7f4b2f6bd6c67fb..cd6ffc9bbd7859aa 100644
--- a/src/cvs.h
+++ b/src/cvs.h
@@ -486,6 +486,7 @@ extern int parse_config PROTO ((char *));
 
 typedef	RETSIGTYPE (*SIGCLEANUPPROC)	PROTO(());
 int SIG_register PROTO((int sig, SIGCLEANUPPROC sigcleanup));
+int SIG_deregister PROTO((int sig, SIGCLEANUPPROC sigcleanup));
 int isdir PROTO((const char *file));
 int isfile PROTO((const char *file));
 int islink PROTO((const char *file));
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin