Matt McCutchen's Web Site
/
rsync
/
rsync-patches.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0503168
)
Use the new isDigit() function.
author
Wayne Davison
<wayned@samba.org>
Fri, 10 Nov 2006 05:58:10 +0000
(
05:58
+0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 10 Nov 2006 05:58:10 +0000
(
05:58
+0000)
time-limit.diff
patch
|
blob
|
blame
|
history
diff --git
a/time-limit.diff
b/time-limit.diff
index
4658e87
..
06b5ac5
100644
(file)
--- a/
time-limit.diff
+++ b/
time-limit.diff
@@
-198,13
+198,13
@@
To use this patch, run these commands for a successful build:
+ } else
+ in_date = 1;
+ for ( ; ; cp++) {
-+ if (!is
digit(*
cp))
++ if (!is
Digit(
cp))
+ return -1;
+
+ n = 0;
+ do {
+ n = n * 10 + *cp++ - '0';
-+ } while (is
digit(*
cp));
++ } while (is
Digit(
cp));
+
+ if (*cp == ':')
+ in_date = 0;