* lib/inet_pton.c: Include <c-ctype.h> rather than <ctype.h>.
(inet_pton6): Use c_tolower rather than tolower.
* modules/inet_pton (Depends-on): Add c-ctype.
+2008-08-06 Jim Meyering <meyering@redhat.com>
+
+ inet_pton.c: use locale-independent tolower
+ * lib/inet_pton.c: Include <c-ctype.h> rather than <ctype.h>.
+ (inet_pton6): Use c_tolower rather than tolower.
+ * modules/inet_pton (Depends-on): Add c-ctype.
+
2008-08-06 Paolo Bonzini <bonzini@gnu.org>
* lib/poll.c (poll): Avoid division when timeout is 0, cache
/* Specification. */
#include <arpa/inet.h>
-#include <ctype.h>
+#include <c-ctype.h>
#include <string.h>
#include <errno.h>
curtok = src;
saw_xdigit = 0;
val = 0;
- while ((ch = tolower (*src++)) != '\0')
+ while ((ch = c_tolower (*src++)) != '\0')
{
const char *pch;
m4/inet_pton.m4
Depends-on:
+c-ctype
socklen
sys_socket
arpa_inet