Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl2/xcvs/dist/src use the result of strtoul
details: https://anonhg.NetBSD.org/src/rev/39f581e0c98a
branches: trunk
changeset: 777888:39f581e0c98a
user: christos <christos%NetBSD.org@localhost>
date: Thu Mar 08 20:43:19 2012 +0000
description:
use the result of strtoul
diffstat:
external/gpl2/xcvs/dist/src/rcs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 6082012f7a98 -r 39f581e0c98a external/gpl2/xcvs/dist/src/rcs.c
--- a/external/gpl2/xcvs/dist/src/rcs.c Thu Mar 08 20:42:56 2012 +0000
+++ b/external/gpl2/xcvs/dist/src/rcs.c Thu Mar 08 20:43:19 2012 +0000
@@ -823,7 +823,7 @@
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);
Home |
Main Index |
Thread Index |
Old Index