[ntp:bk-ntp-stable-send] BitKeeper patch

Harlan Stenn stenn at whimsy.udel.edu
Sat Dec 20 17:29:38 PST 2003


This BitKeeper patch contains the following changesets:
stenn at whimsy.udel.edu|ChangeSet|20031221012835|14912

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# ID:	stenn at whimsy.udel.edu|ChangeSet|19990526004811|57482|8983e65c737bb465
# User:	stenn
# Host:	whimsy.udel.edu
# Root:	/backroom/ntp-stable

#
#--- 1.10/ntpd/refclock_neoclock4x.c	Sat Nov 29 19:10:42 2003
#+++ 1.11/ntpd/refclock_neoclock4x.c	Sat Dec 20 20:28:24 2003
#@@ -739,9 +739,9 @@
#   int i;
#   int n = 0;
# 
#-  for(i=0; isxdigit(str[i]) && i < maxlen; i++)
#+  for(i=0; isxdigit((int)str[i]) && i < maxlen; i++)
#     {
#-      hexdigit = isdigit(str[i]) ? toupper(str[i]) - '0' : toupper(str[i]) - 'A' + 10;
#+      hexdigit = isdigit((int)str[i]) ? toupper(str[i]) - '0' : toupper(str[i]) - 'A' + 10;
#       n = 16 * n + hexdigit;
#     }
#   *result = n;
#@@ -757,7 +757,7 @@
#   int i;
#   int n = 0;
# 
#-  for(i=0; isdigit(str[i]) && i < maxlen; i++)
#+  for(i=0; isdigit((int)str[i]) && i < maxlen; i++)
#     {
#       digit = str[i] - '0';
#       n = 10 * n + digit;
#
#--- 1.15/ntpd/refclock_arc.c	Wed Nov 26 19:06:18 2003
#+++ 1.16/ntpd/refclock_arc.c	Sat Dec 20 20:28:24 2003
#@@ -827,7 +827,7 @@
# static int
# get2(char *p, int *val)
# {
#-  if (!isdigit(p[0]) || !isdigit(p[1])) return 0;
#+  if (!isdigit((int)p[0]) || !isdigit(p[1])) return 0;
#   *val = (p[0] - '0') * 10 + p[1] - '0';
#   return 1;
# }
#@@ -835,7 +835,7 @@
# static int
# get1(char *p, int *val)
# {
#-  if (!isdigit(p[0])) return 0;
#+  if (!isdigit((int)p[0])) return 0;
#   *val = p[0] - '0';
#   return 1;
# }
#

# Diff checksum=e7c35325


# Patch vers:	1.3
# Patch type:	REGULAR

== ChangeSet ==
stenn at whimsy.udel.edu|ChangeSet|19990526004811|57482|8983e65c737bb465
stenn at whimsy.udel.edu|ChangeSet|20031221011851|14905
D 1.1184 03/12/20 20:28:35-05:00 stenn at whimsy.udel.edu +2 -0
B stenn at whimsy.udel.edu|ChangeSet|19990526004811|57482|8983e65c737bb465
C
c [Bug 259] Marc Brett: lint
K 14912
P ChangeSet
------------------------------------------------

0a0
> stenn at whimsy.udel.edu|ntpd/refclock_arc.c|19990526004818|01635|3aed0663 stenn at whimsy.udel.edu|ntpd/refclock_arc.c|20031221012824|62080
> claas at webfix.linum.ein|ntpd/refclock_neoclock4x.c|20020718153839|63243|a6d74e1991445dfa stenn at whimsy.udel.edu|ntpd/refclock_neoclock4x.c|20031221012824|23046

== ntpd/refclock_neoclock4x.c ==
claas at webfix.linum.ein|ntpd/refclock_neoclock4x.c|20020718153839|63243|a6d74e1991445dfa
stenn at whimsy.udel.edu|ntpd/refclock_neoclock4x.c|20031130001042|21810
D 1.11 03/12/20 20:28:24-05:00 stenn at whimsy.udel.edu +3 -3
B stenn at whimsy.udel.edu|ChangeSet|19990526004811|57482|8983e65c737bb465
C
c [Bug 259] Marc Brett: lint
K 23046
O -rw-rw-r--
P ntpd/refclock_neoclock4x.c
------------------------------------------------

D742 1
I742 1
  for(i=0; isxdigit((int)str[i]) && i < maxlen; i++)
D744 1
I744 1
      hexdigit = isdigit((int)str[i]) ? toupper(str[i]) - '0' : toupper(str[i]) - 'A' + 10;
D760 1
I760 1
  for(i=0; isdigit((int)str[i]) && i < maxlen; i++)

== ntpd/refclock_arc.c ==
stenn at whimsy.udel.edu|ntpd/refclock_arc.c|19990526004818|01635|3aed0663
stenn at whimsy.udel.edu|ntpd/refclock_arc.c|20031127000618|61256
D 1.16 03/12/20 20:28:24-05:00 stenn at whimsy.udel.edu +2 -2
B stenn at whimsy.udel.edu|ChangeSet|19990526004811|57482|8983e65c737bb465
C
c [Bug 259] Marc Brett: lint
K 62080
O -rw-rw-r--
P ntpd/refclock_arc.c
------------------------------------------------

D830 1
I830 1
  if (!isdigit((int)p[0]) || !isdigit(p[1])) return 0;
D838 1
I838 1
  if (!isdigit((int)p[0])) return 0;

# Patch checksum=f06b3997



More information about the bk-ntp-stable-send mailing list