Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
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>.
  • Loading branch information
Ulrich Drepper committed Aug 29, 2000
1 parent 1a6c971 commit 30f1226
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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>

* time/strftime.c (my_strftime): Handle # flag for %b as well.
Expand Down
5 changes: 3 additions & 2 deletions inet/rcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -615,8 +615,9 @@ __checkhost_sa (struct sockaddr *ra, size_t ralen, char *lhost,
/* XXX */
if (getnameinfo(ra, ralen,
raddr, sizeof(raddr), NULL, 0,
NI_NUMERICHOST) == 0)
return negate * (strcmp(raddr, lhost) == 0);
NI_NUMERICHOST) == 0
&& strcmp(raddr, lhost) == 0)
return negate;

/* Better be a hostname. */
match = 0;
Expand Down
4 changes: 2 additions & 2 deletions localedata/locales/sv_SE
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ reorder-after <z>
% words or names are only to be distinguished by 'v' or % 'w', 'v' is
% placed before 'w'.
reorder-after <U0056>
<U0057> <v>;<BAS>;<CAP>;<w> # W
<U0057> <v>;<BAS>;<CAP>;<w> % W
reorder-after <U0076>
<U0077> <w>;<BAS>;<MIN>;<w> # w
<U0077> <v>;<BAS>;<MIN>;<w> % w

reorder-after <U00E3>
<U00E4> <ae>;<REU>;<MIN>;IGNORE % �
Expand Down
1 change: 1 addition & 0 deletions posix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ generated := $(addprefix wordexp-test-result, 1 2 3 4 5 6 7 8 9 10) \

include ../Rules

ifeq (yes,$(built-static-nss))
# We need it for "make check" only. We can skip them if they haven't
# been built yet during "make".
otherlibs += $(wildcard $(nssobjdir)/libnss_files.a \
Expand Down

0 comments on commit 30f1226

Please sign in to comment.