Module Name:    src
Committed By:   christos
Date:           Thu Mar  8 20:43:19 UTC 2012

Modified Files:
        src/external/gpl2/xcvs/dist/src: rcs.c

Log Message:
use the result of strtoul


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl2/xcvs/dist/src/rcs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl2/xcvs/dist/src/rcs.c
diff -u src/external/gpl2/xcvs/dist/src/rcs.c:1.4 src/external/gpl2/xcvs/dist/src/rcs.c:1.5
--- src/external/gpl2/xcvs/dist/src/rcs.c:1.4	Tue Apr 21 14:43:52 2009
+++ src/external/gpl2/xcvs/dist/src/rcs.c	Thu Mar  8 15:43:19 2012
@@ -823,7 +823,7 @@ warning: duplicate key `%s' in version `
 			    error (1, 0, "\
 unrecognized operation '\\x%x' in %s",
 				   op, rcs->print_path);
-			(void) strtoul (cp, (char **) &cp, 10);
+			count = strtoul (cp, (char **) &cp, 10);
 			if (*cp++ != ' ')
 			    error (1, 0, "space expected in %s revision %s",
 				   rcs->print_path, vnode->version);

Reply via email to