1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-10 05:03:06 +03:00
2000-08-29  Ulrich Drepper  <drepper@redhat.com>

	* inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
	names don't match don't return.
	Patch by Olaf Kirch <okir@flash.lst.de>.
This commit is contained in:
Ulrich Drepper
2000-08-29 18:12:01 +00:00
parent 1a6c971d00
commit 30f1226b0b
4 changed files with 12 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
2000-08-29 Ulrich Drepper <drepper@redhat.com>
* inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
names don't match don't return.
Patch by Olaf Kirch <okir@flash.lst.de>.
2000-08-28 Ulrich Drepper <drepper@redhat.com> 2000-08-28 Ulrich Drepper <drepper@redhat.com>
* time/strftime.c (my_strftime): Handle # flag for %b as well. * time/strftime.c (my_strftime): Handle # flag for %b as well.

View File

@@ -615,8 +615,9 @@ __checkhost_sa (struct sockaddr *ra, size_t ralen, char *lhost,
/* XXX */ /* XXX */
if (getnameinfo(ra, ralen, if (getnameinfo(ra, ralen,
raddr, sizeof(raddr), NULL, 0, raddr, sizeof(raddr), NULL, 0,
NI_NUMERICHOST) == 0) NI_NUMERICHOST) == 0
return negate * (strcmp(raddr, lhost) == 0); && strcmp(raddr, lhost) == 0)
return negate;
/* Better be a hostname. */ /* Better be a hostname. */
match = 0; match = 0;

View File

@@ -78,9 +78,9 @@ reorder-after <z>
% words or names are only to be distinguished by 'v' or % 'w', 'v' is % words or names are only to be distinguished by 'v' or % 'w', 'v' is
% placed before 'w'. % placed before 'w'.
reorder-after <U0056> reorder-after <U0056>
<U0057> <v>;<BAS>;<CAP>;<w> # W <U0057> <v>;<BAS>;<CAP>;<w> % W
reorder-after <U0076> reorder-after <U0076>
<U0077> <w>;<BAS>;<MIN>;<w> # w <U0077> <v>;<BAS>;<MIN>;<w> % w
reorder-after <U00E3> reorder-after <U00E3>
<U00E4> <ae>;<REU>;<MIN>;IGNORE % <20> <U00E4> <ae>;<REU>;<MIN>;IGNORE % <20>

View File

@@ -85,6 +85,7 @@ generated := $(addprefix wordexp-test-result, 1 2 3 4 5 6 7 8 9 10) \
include ../Rules include ../Rules
ifeq (yes,$(built-static-nss))
# We need it for "make check" only. We can skip them if they haven't # We need it for "make check" only. We can skip them if they haven't
# been built yet during "make". # been built yet during "make".
otherlibs += $(wildcard $(nssobjdir)/libnss_files.a \ otherlibs += $(wildcard $(nssobjdir)/libnss_files.a \