Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/lib/libc/net Pull up revision 1.14 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/e8d787d17847
branches: netbsd-1-5
changeset: 493065:e8d787d17847
user: he <he%NetBSD.org@localhost>
date: Wed Apr 17 11:59:26 2002 +0000
description:
Pull up revision 1.14 (requested by he):
Cast arguments to isspace() to u_char.
diffstat:
lib/libc/net/hesiod.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r d46640396b3f -r e8d787d17847 lib/libc/net/hesiod.c
--- a/lib/libc/net/hesiod.c Wed Apr 17 11:51:18 2002 +0000
+++ b/lib/libc/net/hesiod.c Wed Apr 17 11:59:26 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hesiod.c,v 1.13.2.2 2002/04/17 11:51:18 he Exp $ */
+/* $NetBSD: hesiod.c,v 1.13.2.3 2002/04/17 11:59:26 he Exp $ */
/* Copyright (c) 1996 by Internet Software Consortium.
*
@@ -52,7 +52,7 @@
"#Id: hesiod_p.h,v 1.1 1996/12/08 21:39:37 ghudson Exp #");
__IDSTRING(rcsid_hescompat_c,
"#Id: hescompat.c,v 1.1.2.1 1996/12/16 08:37:45 ghudson Exp #");
-__RCSID("$NetBSD: hesiod.c,v 1.13.2.2 2002/04/17 11:51:18 he Exp $");
+__RCSID("$NetBSD: hesiod.c,v 1.13.2.3 2002/04/17 11:59:26 he Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -355,10 +355,10 @@
p++;
*p++ = 0;
- while (isspace(*p) || *p == '=')
+ while (isspace((u_char) *p) || *p == '=')
p++;
data = p;
- while (!isspace(*p))
+ while (!isspace((u_char) *p))
p++;
*p = 0;
Home |
Main Index |
Thread Index |
Old Index