diff options
Diffstat (limited to 'net/ntp/files/patch-aa')
-rw-r--r-- | net/ntp/files/patch-aa | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net/ntp/files/patch-aa b/net/ntp/files/patch-aa new file mode 100644 index 000000000000..2b418488de44 --- /dev/null +++ b/net/ntp/files/patch-aa @@ -0,0 +1,38 @@ +--- ntpd/ntp_control.c.orig Mon Apr 9 13:19:56 2001 ++++ ntpd/ntp_control.c Wed Apr 11 20:53:28 2001 +@@ -1823,7 +1823,7 @@ + * Delete leading commas and white space + */ + while (reqpt < reqend && (*reqpt == ',' || +- isspace((int)*reqpt))) ++ isspace((unsigned char)*reqpt))) + reqpt++; + if (reqpt >= reqend) + return (0); +@@ -1846,7 +1846,7 @@ + tp++; + } + if ((*tp == '\0') || (*tp == '=')) { +- while (cp < reqend && isspace((int)*cp)) ++ while (cp < reqend && isspace((unsigned char)*cp)) + cp++; + if (cp == reqend || *cp == ',') { + buf[0] = '\0'; +@@ -1859,7 +1859,7 @@ + if (*cp == '=') { + cp++; + tp = buf; +- while (cp < reqend && isspace((int)*cp)) ++ while (cp < reqend && isspace((unsigned char)*cp)) + cp++; + while (cp < reqend && *cp != ',') { + *tp++ = *cp++; +@@ -1870,7 +1870,7 @@ + cp++; + while (tp > buf) { + *tp-- = '\0'; +- if (!isspace((int)(*tp))) ++ if (!isspace((unsigned char)(*tp))) + break; + } + reqpt = cp; |