Update.
1999-05-06 Ulrich Drepper <drepper@cygnus.com> * nss/digits_dots.c: Correct return value interpretation of inet_ntoa. Fix PR libc/1109.
This commit is contained in:
parent
cbd57e2528
commit
607c351a14
@ -1,3 +1,8 @@
|
||||
1999-05-06 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* nss/digits_dots.c: Correct return value interpretation of
|
||||
inet_ntoa. Fix PR libc/1109.
|
||||
|
||||
1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
|
||||
|
||||
* sysdeps/sparc/sparc32/sparcv9/Dist: New file.
|
||||
|
@ -98,7 +98,7 @@
|
||||
{
|
||||
if (!*cp)
|
||||
{
|
||||
int not_ok;
|
||||
int ok;
|
||||
|
||||
if (*--cp == '.')
|
||||
break;
|
||||
@ -108,13 +108,13 @@
|
||||
255.255.255.255? The test below will succeed
|
||||
spuriously... ??? */
|
||||
if (af == AF_INET)
|
||||
not_ok = inet_aton (name, (struct in_addr *) host_addr);
|
||||
ok = inet_aton (name, (struct in_addr *) host_addr);
|
||||
else
|
||||
{
|
||||
assert (af == AF_INET6);
|
||||
not_ok = (inet_pton (af, name, host_addr) <= 0);
|
||||
ok = (inet_pton (af, name, host_addr) > 0);
|
||||
}
|
||||
if (not_ok)
|
||||
if (! ok)
|
||||
{
|
||||
__set_h_errno (HOST_NOT_FOUND);
|
||||
#ifndef HAVE_LOOKUP_BUFFER
|
||||
|
2
sysdeps/generic/configure
vendored
2
sysdeps/generic/configure
vendored
@ -32,7 +32,7 @@ $ac_func();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:36: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:36: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
|
6
sysdeps/unix/common/configure
vendored
6
sysdeps/unix/common/configure
vendored
@ -15,7 +15,7 @@ int main() {
|
||||
extern char *sys_siglist[]; puts(*sys_siglist);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:19: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:19: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
ac_cv_check_symbol_sys_siglist=yes
|
||||
else
|
||||
@ -48,7 +48,7 @@ int main() {
|
||||
extern char *_sys_siglist[]; puts(*_sys_siglist);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:52: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:52: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
ac_cv_check_symbol__sys_siglist=yes
|
||||
else
|
||||
@ -85,7 +85,7 @@ int main() {
|
||||
$ctype[13];
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:89: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:89: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
libc_cv_ctype_glue="$ctype"; break
|
||||
else
|
||||
|
2
sysdeps/unix/configure
vendored
2
sysdeps/unix/configure
vendored
@ -33,7 +33,7 @@ $ac_func();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:37: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:37: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user