2000-07-12  H.J. Lu  <hjl@gnu.org>

	* resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
	for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.

2000-07-12  Ulrich Drepper  <drepper@redhat.com>

	* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
	it is wrong.
This commit is contained in:
Ulrich Drepper 2000-07-12 20:39:58 +00:00
parent 9f835f5fb4
commit 0d655550de
5 changed files with 41 additions and 3 deletions

View File

@ -1,3 +1,13 @@
2000-07-12 H.J. Lu <hjl@gnu.org>
* resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
2000-07-12 Ulrich Drepper <drepper@redhat.com>
* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
it is wrong.
2000-07-12 Bruno Haible <haible@clisp.cons.org>
* iconv/gconv_open.c (__gconv_open): Merge duplicated code.

View File

@ -1,3 +1,7 @@
2000-07-12 Bruno Haible <haible@clisp.cons.org>
* Examples/ex8.c: Include <sys/wait.h>, not <wait.h>.
2000-07-12 Ulrich Drepper <drepper@redhat.com>
* spinlock.c: Fix code for TEST_FOR_COMPARE_AND_SWAP being defined.

View File

@ -1,3 +1,27 @@
2000-07-11 Andreas Jaeger <aj@suse.de>
* Makefile (locale_test_suite): Always run test suite.
($(addprefix $(objpfx),$(CTYPE_FILES))): Add extra parameter for
gen-locale.sh.
(do-collate-test): Likewise.
(do-tst-fmon): Likewise.
(do-tst-locale): Likewise.
(do-tst-rpmatch): Likewise.
(do-tst-trans): Likewise.
(do-tst-mbswcs): Likewise.
(do-tst-ctype): Likewise.
* sort-test.sh : Rewrite to work with static only builds.
* tst-ctype.sh: Likewise.
* tst-fmon.sh: Likewise.
* tst-locale.sh: Likewise.
* tst-mbswcs.sh: Likewise.
* tst-rpmatch.sh: Likewise.
* tst-trans.sh: Likewise.
* gen-locale.sh (locfile): Fix it for building with
sourcedir==builddir and for static only builds.
2000-07-07 Ulrich Drepper <drepper@redhat.com>
* locales/POSIX: Remove repertoire map reference.

View File

@ -52,7 +52,7 @@ libresolv {
}
GLIBC_2.2 {
__res_nmkquery; __res_nquery; __res_nquerydomain; __res_nsearch;
__ns_get16;
__ns_get16; __res_hostalias;
}
libnss_dns {

View File

@ -182,8 +182,8 @@ __wcsmbs_load_conv (const struct locale_data *new_category)
since the internal character set is supposed to be able to
represent all others. */
new_towc = getfct ("INTERNAL", complete_name);
if (new_towc != NULL)
new_tomb = getfct (complete_name, "INTERNAL");
new_tomb = (new_towc != NULL
? getfct (complete_name, "INTERNAL") : NULL);
/* If any of the conversion functions is not available we don't
use any since this would mean we cannot convert back and