1 --- inet_net_pton.c.orig 2008-09-01 22:59:17.000000000 -0700
2 +++ inet_net_pton.c 2008-09-01 23:00:34.000000000 -0700
4 #if defined(LIBC_SCCS) && !defined(lint)
5 static const char rcsid[] = "$Id: inet_net_pton.c,v 1.7.18.1 2005/04/27 05:00:53 sra Exp $";
8 +/* the algorithms only can deal with ASCII, so we optimize for it */
11 #include <sys/cdefs.h>
12 __FBSDID("$FreeBSD: src/lib/libc/inet/inet_net_pton.c,v 1.3 2007/06/03 17:20:26 ume Exp $");
14 @@ -135,11 +139,11 @@ inet_net_pton_ipv4(const char *src, u_ch
15 assert(n >= 0 && n <= 9);
20 } while ((ch = *src++) != '\0' && isascii(ch) && isdigit(ch));
27 /* Firey death and destruction unless we prefetched EOS. */