* hesiod/hesiod.c (hesiod_resolve): Also search HS records is
	errno is ECONNREFUSED.

	* posix/Makefile: Define MBS_SUPPORT for regex.c.
This commit is contained in:
Ulrich Drepper 2001-02-03 07:01:11 +00:00
parent e4c785c8d7
commit 0c7dfa144b
3 changed files with 13 additions and 9 deletions

View File

@ -1,5 +1,9 @@
2001-02-02 Ulrich Drepper <drepper@redhat.com>
* hesiod/hesiod.c (hesiod_resolve): Also search HS records is
errno is ECONNREFUSED.
* posix/Makefile: Define MBS_SUPPORT for regex.c.
* posix/regex.c: Implement multibyte character handling.
Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.

View File

@ -249,7 +249,7 @@ hesiod_resolve(void *context, const char *name, const char *type) {
return (retvec);
}
if (errno != ENOENT)
if (errno != ENOENT && errno != ECONNREFUSED)
return (NULL);
retvec = get_txt_records(ctx, C_HS, bindname);

View File

@ -1,4 +1,4 @@
# Copyright (C) 1991-1999, 2000 Free Software Foundation, Inc.
# Copyright (C) 1991-1999, 2000, 2001 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@ -107,7 +107,7 @@ $(objpfx)wordexp-tst.out: wordexp-tst.sh $(objpfx)wordexp-test
endif
endif
CFLAGS-regex.c = -Wno-strict-prototypes
CFLAGS-regex.c = -Wno-strict-prototypes -DMBS_SUPPORT
CFLAGS-getaddrinfo.c = -DRESOLVER
tstgetopt-ARGS = -a -b -cfoobar --required foobar --optional=bazbug \
--none random --col --color --colour