aboutsummaryrefslogtreecommitdiff
path: root/localedata
AgeCommit message (Collapse)AuthorFilesLines
2004-12-29[BZ #626]Roland McGrath2-1/+5
2004-12-29 Roland McGrath <roland@redhat.com> [BZ #626] * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather than always up; when nearest is zero, round up to one.
2004-12-22(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper198-72081/+56076
2007-07-122.5-18.1Jakub Jelinek198-56076/+72081
2004-12-19[BZ #560, BZ #573]Andreas Jaeger3-45/+149
Update. 2004-12-19 Andreas Jaeger <aj@suse.de> [BZ #560] * inet/netinet/in.h: Use __interface_addr instead of __interface. [BZ #573] * sunrpc/xcrypt.c (passwd2des_internal): Make it hidden instead of internal linkage.
2004-12-17Update.cvs/fedora-glibc-20041218T1131Ulrich Drepper2-3/+7
2004-12-17 Ulrich Drepper <drepper@redhat.com> * po/ja.po: Update from translation team.
2004-12-14Update.Ulrich Drepper2-14/+201
2004-10-06 Alan Modra <amodra@bigpond.net.au> * sysdeps/powerpc/powerpc64/ppc-mcount.S (PROF): Don't undef. * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Invoke CALL_MOUNT. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2004-11-27Update.Ulrich Drepper1-17/+4
* posix/Makefile (tests): Add tst-sysconf. * posix/tst-sysconf.c: New file.
2004-11-27Update.Ulrich Drepper2-29/+34
2004-11-27 Ulrich Drepper <drepper@redhat.com> * include/dlfcn.h (__libc_dlopen): Add __RTLD_DLOPEN to the mode parameter. Reported by VY Newsum <newsum@fel.tno.nl>. 2004-11-10 Daniel Jacobowitz <dan@debian.org> * libio/iolibio.h (_IO_fclose, _IO_new_fclose, _IO_old_fclose, _IO_fflush, _IO_fgetpos, _IO_fgetpos64, _IO_fgets, _IO_fopen, _IO_old_fopen, _IO_new_fopen, _IO_fopen64, __fopen_internal, _IO_fprintf, _IO_fputs, _IO_fsetpos, _IO_fsetpos64, _IO_ftell, _IO_fread, _IO_fwrite, _IO_gets, _IO_printf, _IO_puts, _IO_scanf, _IO_fflush_internal, _IO_ftell_internal, _IO_fputs_internal) _IO_fwrite_internal): Remove incorrect __THROW. * libio/libioP.h (_IO_default_xsputn, _IO_wdefault_xsputn, _IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_default_write, _IO_default_read, _IO_getline, _IO_getline_info, _IO_getwline, _IO_getwline_info, _IO_file_read_internal, _IO_sgetn_internal, _IO_wdo_write_internal, _IO_do_write_internal, _IO_getline_info_internal, _IO_getline_internal, _IO_vfprintf_internal, _IO_putc_internal, _IO_read, _IO_write, _IO_close): Likewise.
2004-10-31Change contact address to bug-glibc-locales@gnu.org (a new alias for the ↵Roland McGrath150-150/+151
libc-locales mailing list). [BZ #337] to bug-glibc-locales@gnu.org (a new alias for the libc-locales mailing list).
2004-10-31[BZ #187, BZ #337, BZ #421]Roland McGrath25-34/+207
Change contact address from bug-glibc@gnu.org to libc-locales@sources.redhat.com. 2004-10-31 Petter Reinholdtsen <pere@hungry.com> [BZ #337] * SUPPORTED: Update bug reporting comment. * locales/af_ZA: Change contact address from bug-glibc@gnu.org to libc-locales@sources.redhat.com. * locales/an_ES: Likewise. * locales/ar_AE: Likewise. * locales/ar_BH: Likewise. * locales/ar_DZ: Likewise. * locales/ar_EG: Likewise. * locales/ar_IN: Likewise. * locales/ar_IQ: Likewise. * locales/ar_JO: Likewise. * locales/ar_KW: Likewise. * locales/ar_LB: Likewise. * locales/ar_LY: Likewise. * locales/ar_MA: Likewise. * locales/ar_OM: Likewise. * locales/ar_QA: Likewise. * locales/ar_SA: Likewise. * locales/ar_SD: Likewise. * locales/ar_SY: Likewise. * locales/ar_TN: Likewise. * locales/ar_YE: Likewise. * locales/be_BY: Likewise. * locales/bn_IN: Likewise. * locales/br_FR@euro: Likewise. * locales/ca_ES: Likewise. * locales/ca_ES@euro: Likewise. * locales/cs_CZ: Likewise. * locales/da_DK: Likewise. * locales/de_AT: Likewise. * locales/de_AT@euro: Likewise. * locales/de_BE: Likewise. * locales/de_BE@euro: Likewise. * locales/de_CH: Likewise. * locales/de_DE: Likewise. * locales/de_DE@euro: Likewise. * locales/de_LU: Likewise. * locales/de_LU@euro: Likewise. * locales/el_GR: Likewise. * locales/el_GR@euro: Likewise. * locales/en_AU: Likewise. * locales/en_BW: Likewise. * locales/en_CA: Likewise. * locales/en_DK: Likewise. * locales/en_GB: Likewise. * locales/en_HK: Likewise. * locales/en_IE: Likewise. * locales/en_IE@euro: Likewise. * locales/en_IN: Likewise. * locales/en_NZ: Likewise. * locales/en_PH: Likewise. * locales/en_SG: Likewise. * locales/en_US: Likewise. * locales/en_ZW: Likewise. * locales/es_AR: Likewise. * locales/es_BO: Likewise. * locales/es_CL: Likewise. * locales/es_CO: Likewise. * locales/es_CR: Likewise. * locales/es_DO: Likewise. * locales/es_EC: Likewise. * locales/es_ES: Likewise. * locales/es_ES@euro: Likewise. * locales/es_GT: Likewise. * locales/es_HN: Likewise. * locales/es_MX: Likewise. * locales/es_NI: Likewise. * locales/es_PA: Likewise. * locales/es_PE: Likewise. * locales/es_PR: Likewise. * locales/es_PY: Likewise. * locales/es_SV: Likewise. * locales/es_US: Likewise. * locales/es_UY: Likewise. * locales/es_VE: Likewise. * locales/et_EE: Likewise. * locales/eu_ES: Likewise. * locales/eu_ES@euro: Likewise. * locales/fi_FI: Likewise. * locales/fi_FI@euro: Likewise. * locales/fo_FO: Likewise. * locales/fr_BE: Likewise. * locales/fr_BE@euro: Likewise. * locales/fr_CA: Likewise. * locales/fr_CH: Likewise. * locales/fr_FR: Likewise. * locales/fr_FR@euro: Likewise. * locales/fr_LU: Likewise. * locales/fr_LU@euro: Likewise. * locales/ga_IE: Likewise. * locales/ga_IE@euro: Likewise. * locales/gl_ES: Likewise. * locales/gl_ES@euro: Likewise. * locales/gu_IN: Likewise. * locales/gv_GB: Likewise. * locales/he_IL: Likewise. * locales/hi_IN: Likewise. * locales/hr_HR: Likewise. * locales/hu_HU: Likewise. * locales/id_ID: Likewise. * locales/is_IS: Likewise. * locales/it_CH: Likewise. * locales/it_IT: Likewise. * locales/it_IT@euro: Likewise. * locales/iw_IL: Likewise. * locales/ja_JP: Likewise. * locales/kk_KZ: Likewise. * locales/kl_GL: Likewise. * locales/kn_IN: Likewise. * locales/ko_KR: Likewise. * locales/kw_GB: Likewise. * locales/lo_LA: Likewise. * locales/lt_LT: Likewise. * locales/lv_LV: Likewise. * locales/ml_IN: Likewise. * locales/mn_MN: Likewise. * locales/mr_IN: Likewise. * locales/ms_MY: Likewise. * locales/mt_MT: Likewise. * locales/nb_NO: Likewise. * locales/nl_BE: Likewise. * locales/nl_BE@euro: Likewise. * locales/nl_NL: Likewise. * locales/nl_NL@euro: Likewise. * locales/nn_NO: Likewise. * locales/pa_IN: Likewise. * locales/pl_PL: Likewise. * locales/pt_BR: Likewise. * locales/pt_PT: Likewise. * locales/pt_PT@euro: Likewise. * locales/ro_RO: Likewise. * locales/ru_RU: Likewise. * locales/ru_UA: Likewise. * locales/sk_SK: Likewise. * locales/sl_SI: Likewise. * locales/sq_AL: Likewise. * locales/sv_FI: Likewise. * locales/sv_FI@euro: Likewise. * locales/sv_SE: Likewise. * locales/ta_IN: Likewise. * locales/te_IN: Likewise. * locales/th_TH: Likewise. * locales/tr_TR: Likewise. * locales/uk_UA: Likewise. * locales/ur_PK: Likewise. * locales/vi_VN: Likewise. * locales/wa_BE@euro: Likewise. * locales/zh_CN: Likewise. * locales/zh_HK: Likewise. * locales/zh_SG: Likewise. * locales/zh_TW: Likewise. [BZ #187] * locales/tr_TR: Add 'yY' and 'nN' to yesexpr and noexpr, to avoid surprises when using untranslated program. * locales/tr_TR: Remove trailing '.*' from yesexpr and noexpr to make it more like the structure of the POSIX locale values. * locales/tr_TR: Correct numeric decimal point to use comma, and correct grouping. Based on patches from Deniz Akkus Kanca and Nilgün Belma Bugüner. [BZ #421] * locales/tr_TR: Update with new currency symbol valid from 2005-01-01. Patch from Nilgün Belma Bugüner. * locales/tr_TR: Convert UTF-8 comment to <U#> notation.
2004-10-31[BZ #337]Roland McGrath126-126/+126
2004-10-31 Petter Reinholdtsen <pere@hungry.com> [BZ #337] * locales/af_ZA: Change contact address from bug-glibc@gnu.org to libc-locales@sources.redhat.com. * locales/an_ES: Likewise. * locales/ar_AE: Likewise. * locales/ar_BH: Likewise. * locales/ar_DZ: Likewise. * locales/ar_EG: Likewise. * locales/ar_IN: Likewise. * locales/ar_IQ: Likewise. * locales/ar_JO: Likewise. * locales/ar_KW: Likewise. * locales/ar_LB: Likewise. * locales/ar_LY: Likewise. * locales/ar_MA: Likewise. * locales/ar_OM: Likewise. * locales/ar_QA: Likewise. * locales/ar_SA: Likewise. * locales/ar_SD: Likewise. * locales/ar_SY: Likewise. * locales/ar_TN: Likewise. * locales/ar_YE: Likewise. * locales/be_BY: Likewise. * locales/bn_IN: Likewise. * locales/br_FR@euro: Likewise. * locales/ca_ES: Likewise. * locales/ca_ES@euro: Likewise. * locales/cs_CZ: Likewise. * locales/da_DK: Likewise. * locales/de_AT: Likewise. * locales/de_AT@euro: Likewise. * locales/de_BE: Likewise. * locales/de_BE@euro: Likewise. * locales/de_CH: Likewise. * locales/de_DE: Likewise. * locales/de_DE@euro: Likewise. * locales/de_LU: Likewise. * locales/de_LU@euro: Likewise. * locales/el_GR: Likewise. * locales/el_GR@euro: Likewise. * locales/en_AU: Likewise. * locales/en_BW: Likewise. * locales/en_CA: Likewise. * locales/en_DK: Likewise. * locales/en_GB: Likewise. * locales/en_HK: Likewise. * locales/en_IE: Likewise. * locales/en_IE@euro: Likewise. * locales/en_IN: Likewise. * locales/en_NZ: Likewise. * locales/en_PH: Likewise. * locales/en_SG: Likewise. * locales/en_US: Likewise. * locales/en_ZW: Likewise. * locales/es_AR: Likewise. * locales/es_BO: Likewise. * locales/es_CL: Likewise. * locales/es_CO: Likewise. * locales/es_CR: Likewise. * locales/es_DO: Likewise. * locales/es_EC: Likewise. * locales/es_ES: Likewise. * locales/es_ES@euro: Likewise. * locales/es_GT: Likewise. * locales/es_HN: Likewise. * locales/es_MX: Likewise. * locales/es_NI: Likewise. * locales/es_PA: Likewise. * locales/es_PE: Likewise. * locales/es_PR: Likewise. * locales/es_PY: Likewise. * locales/es_SV: Likewise. * locales/es_US: Likewise. * locales/es_UY: Likewise. * locales/es_VE: Likewise. * locales/et_EE: Likewise. * locales/eu_ES: Likewise. * locales/eu_ES@euro: Likewise. * locales/fi_FI: Likewise. * locales/fi_FI@euro: Likewise. * locales/fo_FO: Likewise. * locales/fr_BE: Likewise. * locales/fr_BE@euro: Likewise. * locales/fr_CA: Likewise. * locales/fr_CH: Likewise. * locales/fr_FR: Likewise. * locales/fr_FR@euro: Likewise. * locales/fr_LU: Likewise. * locales/fr_LU@euro: Likewise. * locales/ga_IE: Likewise. * locales/ga_IE@euro: Likewise. * locales/gl_ES: Likewise. * locales/gl_ES@euro: Likewise. * locales/gu_IN: Likewise. * locales/gv_GB: Likewise. * locales/he_IL: Likewise. * locales/hi_IN: Likewise. * locales/hr_HR: Likewise. * locales/hu_HU: Likewise. * locales/id_ID: Likewise. * locales/is_IS: Likewise. * locales/it_CH: Likewise. * locales/it_IT: Likewise. * locales/it_IT@euro: Likewise. * locales/iw_IL: Likewise. * locales/ja_JP: Likewise. * locales/kk_KZ: Likewise. * locales/kl_GL: Likewise. * locales/kn_IN: Likewise. * locales/ko_KR: Likewise. * locales/kw_GB: Likewise. * locales/lo_LA: Likewise. * locales/lt_LT: Likewise. * locales/lv_LV: Likewise. * locales/ml_IN: Likewise. * locales/mn_MN: Likewise. * locales/mr_IN: Likewise. * locales/ms_MY: Likewise. * locales/mt_MT: Likewise. * locales/nb_NO: Likewise. * locales/nl_BE: Likewise. * locales/nl_BE@euro: Likewise. * locales/nl_NL: Likewise. * locales/nl_NL@euro: Likewise. * locales/nn_NO: Likewise. * locales/pa_IN: Likewise. * locales/pl_PL: Likewise. * locales/pt_BR: Likewise. * locales/pt_PT: Likewise. * locales/pt_PT@euro: Likewise. * locales/ro_RO: Likewise. * locales/ru_RU: Likewise. * locales/ru_UA: Likewise. * locales/sk_SK: Likewise. * locales/sl_SI: Likewise. * locales/sq_AL: Likewise. * locales/sv_FI: Likewise. * locales/sv_FI@euro: Likewise. * locales/sv_SE: Likewise. * locales/ta_IN: Likewise. * locales/te_IN: Likewise. * locales/th_TH: Likewise. * locales/tr_TR: Likewise. * locales/uk_UA: Likewise. * locales/ur_PK: Likewise. * locales/vi_VN: Likewise. * locales/wa_BE@euro: Likewise. * locales/zh_CN: Likewise. * locales/zh_HK: Likewise. * locales/zh_SG: Likewise. * locales/zh_TW: Likewise.
2004-10-11Update.Ulrich Drepper2-2/+21
* stdio-common/vfscanf.c: Add support for reading localized digits. Patch mainly by Hamed Malek <hamed@bamdad.org>.
2004-10-04Update.Ulrich Drepper2-21/+25
* nscd/Makefile (nscd-modules): Add gai. * nscd/gai.c: New file.
2004-09-28Update.Ulrich Drepper2-1/+5
2004-09-28 Ulrich Drepper <drepper@redhat.com> * locales/nb_NO: Make language field consistent in form with nn_NO.
2004-09-28Update.Ulrich Drepper2-3/+8
2004-09-27 Ulrich Drepper <drepper@redhat.com> * locales/cy_GB: Fix d_t_fmt ("a viz" -> "mis"). Reported by Alan Cox <alan@redhat.com>.
2004-08-07[BZ #19]Ulrich Drepper3-1/+133
Update. 2004-08-07 Petter Reinholdtsen <pere@hungry.com> * Makefile (test-input): Add tr_TR.UTF-8 sorting test. Test case for BZ #19. * tr_TR.in: New file.
2004-08-02Update.Ulrich Drepper5-7/+77
2004-08-02 Jakub Jelinek <jakub@redhat.com> * iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff. Always treat high as highest number in range + 1. * iconvdata/ibm943.c (BODY): Likewise. 2004-07-31 Bruno Haible <bruno@clisp.org> * iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004. * iconvdata/jisx0213.c (__jisx0213_to_ucs_main, __jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1, __jisx0213_from_ucs_level2): Regenerated. * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function. * iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from JISX0213_1_set. (JISX0213_1_2004_set): New enum value. (BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O. (BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O when possible, ESC $ ( Q when needed. * iconvdata/testdata/EUC-JISX0213: Add the 10 new characters. * iconvdata/testdata/EUC-JISX0213..UTF8: Update. * iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters. * iconvdata/testdata/SHIFT_JISX0213..UTF8: Update. * iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters. * iconvdata/testdata/ISO-2022-JP-3..UTF8: Update. 2004-07-22 Bruno Haible <bruno@clisp.org> * iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003.
2004-07-23[BZ #282]Ulrich Drepper2-13/+19
Update. 2004-07-23 Jakub Jelinek <jakub@redhat.com> [BZ #282] * libio/iopopen.c (_IO_new_popen): Use _IO_init instead of _IO_no_init. Remove wd from struct locked_FILE. (_IO_wproc_jumps): Remove. Reported by Andrew Josey <a.josey@opengroup.org>. * stdio-common/Makefile (tests): Add tst-popen. * stdio-common/tst-popen.c: New test.
2004-07-20Update.Ulrich Drepper1-0/+4
Define struct group_req and struct group_source_req.
2004-07-20Update.Ulrich Drepper1-0/+1
* inet/netinet/in.h: Define struct ip_mreq and struct ip_mreq_source. * sysdeps/unix/sysv/linux/bits/in.h: Define IP_UNBLOCK_SOURCE, IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP, IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP, MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP, MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and MCAST_MSFILTER.
2004-05-18[BZ #163]Ulrich Drepper2-1/+8
Update. 2004-05-18 Petter Reinholdtsen <pere@hungry.com> * locales/sl_SI [LC_TIME]: Correct d_fmt date format from '22.06.2003' to '22. 06. 2003'. Change requested from Aleks Reinhardt, and approved by the locale author Borka Jerman-Blazic. [BZ #163]
2004-05-17[BZ #40]Ulrich Drepper4-468/+4
Update. 2004-05-15 Petter Reinholdtsen <pere@hungry.com> * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND MONTENEGRO" which have taken over the code 819. Patch from Danilo Segan. [BZ #40] 2004-05-15 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to __sparc_get_pic_l7. 2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk> * catgets/gencat.c: Update bug reporting instructions. * csu/version.c: Likewise. * debug/catchsegv.sh: Likewise. * debug/pcprofiledump.c: Likewise. * debug/xtrace.sh: Likewise. * elf/ldd.bash.in: Likewise. * iconv/iconv_prog.c: Likewise. * iconv/iconvconfig.c: Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * login/programs/pt_chown.c: Likewise. * malloc/memusage.sh: Likewise. * malloc/memusagestat.c: Likewise. * malloc/mtrace.pl: Likewise. * manual/crypt.texi: Likewise. * manual/install.texi: Likewise. * nss/makedb.c: Likewise. 2004-05-14 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only CHECK_STATIC_TLS if sym != NULL. * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise. 2004-05-12 Andreas Schwab <schwab@suse.de> * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs when translating. 2004-05-13 H.J. Lu <hongjiu.lu@intel.com> * Rules (xtests): Depend on tests.
2004-05-17[BZ #111]Ulrich Drepper2-2/+8
Update. 2004-05-15 Petter Reinholdtsen <pere@hungry.com> * locales/it_IT: Change currency formatting from none to two fraction dicits, as Italy now uses the Euro. Patch from Marko Djukic. [BZ #111]
2004-05-03Update.Ulrich Drepper1-1/+6
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
2004-05-03Update.Ulrich Drepper4-6/+249
2004-05-03 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if __USE_BSD or __USE_UNIX98. * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. *sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise. 2004-05-01 Jakub Jelinek <jakub@redhat.com> * posix/Versions (libc): Remove __libc_wait, __libc_waitpid, __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64, __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE. * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE. * sysdeps/unix/sysv/linux/Versions (libc): Remove __libc_sigaction@@GLIBC_PRIVATE. * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove __modify_ldt@@GLIBC_PRIVATE. * socket/Versions (libc): Remove __libc_accept, __libc_send, __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv, __libc_sendto and __libc_connect @@GLIBC_PRIVATE. * stdio-common/Versions (libc): Remove _itoa_upper_digits@@GLIBC_PRIVATE. * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE. * misc/Versions (libc): Remove __libc_fsync, __libc_msync, __libc_readv and __libc_writev @@GLIBC_PRIVATE. * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE. * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read, __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and __libc_lseek64 @@GLIBC_PRIVATE. 2004-04-30 Jakub Jelinek <jakub@redhat.com> * elf/dl-load.c (open_verify): Move e_phentsize check after e_type check. 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed. * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed. * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file. * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX mantissa for AIX long double format. * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX long double format. * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise. * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024] (_fpioconst_pow10): AIX long double format has same exponent range as double. * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024] (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range as double. 2004-04-23 Art Haas <ahaas@airmail.net> * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
2004-04-17Update.Ulrich Drepper1-2/+9
2004-03-26 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c (__fxstat): Don't use "struct kernel_stat". 2004-04-02 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/ia64/memcmp.S: Fix symbol.
2004-04-17Update.Ulrich Drepper1-0/+1
2004-04-04 Carlos O'Donell <carlos@baldric.uwo.ca> * sysdeps/hppa/Dist: Add bits/link.h elf/entry.h. * sysdeps/hppa/bits/link.h: New file. * sysdeps/hppa/dl-machine.h (__hppa_init_bootstrap_fdesc_table): Initialze the fdesc table for the generic code. (elf_machine_dynamic): Use asm version. (elf_machine_load_addresss): Simplify asm by calling elf_machine_dynamic. (elf_machine_fixup_plt): Correct comment. (elf_machine_profile_fixup_plt): New. (elf_machine_runtime_setup): Check PLT exists, if lazy=1 process normally, else relocate all the absolute entries. (RTLD_START): Fix comments. (TRAMPOLINE_TEMPLATE): Reformat assembly, add return pointer for calls to profile_fixup. (ELF_MACHINE_SIZEOF_JMP_SLOT, DL_STATIC_FUNCTION_ADDRESS, DL_PLATFORM_INIT): Define. (DL_FUNCTION_ADDRESS): Remove. (dl_platform_init): New. (elf_machine_rela): Use generic fdesc code, and process all COPY relocations. Use __attribute__((always_inline)). (elf_machine_rela_relative): Add sanity checks, remove IPLT processing, print error message in default case. Use __attribute__((always_inline)). (elf_machine_lazy_rel): Use __attribute__((always_inline)). 2004-04-05 Carlos O'Donell <carlos@baldric.uwo.ca> * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use only sw[0] and call feraiseexcept. 2003-11-15 Randolph Chung <tausq@debian.org> * gmon/gmon.c (__monstartup): Round kcountsize to multiples of the froms[] array so the array is properly aligned. 2004-04-05 H.J. Lu <hongjiu.lu@intel.com> * Makeconfig (libgcc_eh): Add -Wl,. * configure.in: Add -lgcc_s for --as-needed check. 2004-04-16 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/elf/configure.in: New file. * iconvdata/gconv-modules: Add PT154 and RK1048 entries. * iconvdata/tst-tables.sh: Add PT154 and RK1048. * iconvdata/Makefile (modules): Add PT154 anhd RK1048. (distribute): Add pt154.c and rk1048.c. (gen-8bit-gap-modules): Add pt154 and rk1048. * icondata/pt154.c: New file. * iconvdata/rk1048.c: New file.
2004-04-17Update.Ulrich Drepper6-25/+823
2004-04-17 Ulrich Drepper <drepper@redhat.com> * locales/kk_KZ: New file. * charmaps/PT154: New file. * charmaps/RK1048: New file. * locales/af_ZA: Make sure yesexpr and noexpr regex * locales/ar_TN: Likewise. * locales/ar_YE: Likewise. * locales/bn_BD: Likewise. * locales/br_FR: Likewise. * locales/ca_ES: Likewise. * locales/cy_GB: Likewise. * locales/gd_GB: Likewise. * locales/gv_GB: Likewise. * locales/hy_AM: Likewise. * locales/id_ID: Likewise. * locales/ka_GE: Likewise. * locales/kw_GB: Likewise. * locales/lg_UG: Likewise. * locales/mk_MK: Likewise. * locales/oc_FR: Likewise. * locales/ru_UA: Likewise. * locales/sk_SK: Likewise. * locales/sr_YU: Likewise. * locales/sr_YU@cyrillic: Likewise. * locales/uk_UA: Likewise. * locales/ur_PK: Likewise. * locales/wa_BE: Likewise. * locales/fa_IR: Fix yesexpr and noexpr.
2004-03-23Update.Ulrich Drepper1-0/+27
2004-03-19 Petter Reinholdtsen <pere@hungry.com> * localedata/locales/af_ZA: Make sure yesexpr and noexpr regex start with '^'. * localedata/locales/ar_TN: Likewise. * localedata/locales/ar_YE: Likewise. * localedata/locales/bn_BD: Likewise. * localedata/locales/br_FR: Likewise. * localedata/locales/ca_ES: Likewise. * localedata/locales/cy_GB: Likewise. * localedata/locales/gd_GB: Likewise. * localedata/locales/gv_GB: Likewise. * localedata/locales/hy_AM: Likewise. * localedata/locales/id_ID: Likewise. * localedata/locales/ka_GE: Likewise. * localedata/locales/kw_GB: Likewise. * localedata/locales/lg_UG: Likewise. * localedata/locales/mk_MK: Likewise. * localedata/locales/oc_FR: Likewise. * localedata/locales/ru_UA: Likewise. * localedata/locales/sk_SK: Likewise. * localedata/locales/sr_YU: Likewise. * localedata/locales/sr_YU@cyrillic: Likewise. * localedata/locales/uk_UA: Likewise. * localedata/locales/ur_PK: Likewise. * localedata/locales/wa_BE: Likewise.
2004-03-23Make sure yesexpr and noexpr regex start with '^'.Ulrich Drepper23-50/+50
2004-03-17Update.Ulrich Drepper2-24/+28
2004-03-17 Jakub Jelinek <jakub@redhat.com> * sysdeps/x86_64/hp-timing.h (HP_TIMING_NOW): Make asm volatile. 2004-03-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Spelling. (JB_SIZE): Undefine before including __longjmp-common.S again. * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Spelling. (JB_SIZE): Undefine before including setjmp-common.S again. * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Spelling. * sysdeps/powerpc/powerpc64/bsd-setjmp.S: Spelling. * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Spelling. * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Spelling. * sysdeps/powerpc/sigjmp.c: Spelling.
2004-02-17Update.Ulrich Drepper2-37/+42
* elf/rtld.c (dl_main): Don't fail execution if file named in ld.so.preload is not present.
2004-02-09Update.Ulrich Drepper2-4/+13
* stdio-common/_i18n_number.h: Support printing localized decimal point and thousand separator. * wctype/wctrans.c: Add __wctrans alias. * include/wctype.h: Declare __wctrans. Based on a patch by Hamed Malek.
2004-01-20Update.Ulrich Drepper1-1/+0
2004-01-20 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/readahead.c (__readahead): Use off64_t instead of loff_t. Include <fcntl.h>. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add readahead prototype. * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. * elf/dl-load.c: Don't add attribute_relro to max_dirnamelen. * sysdeps/generic/inttypes.h: Fix PRI*FAST{16,32} macros. * include/unistd.h (__libc_enable_secure): Mark attribute_relro. (__libc_enable_secure_internal): Likewise. * elf/dl-load.c: Don't declare __libc_stack_end. * sysdeps/generic/libc-start.c: Likewise. * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise. * sysdeps/generic/segfault.c: Likewise. Include ldsodefs.h. * sysdeps/generic/backtrace.c: Likewise.
2004-01-19Update.Ulrich Drepper3-19/+147
2003-12-31 Bruno Haible <bruno@clisp.org> * iconvdata/iso_6937-2.c (to_ucs4): Map 0x7E to U+007E, not U+203E. Map 0xA6 to U+0023. Map 0xA8 to U+00A4. (to_ucs4_comb): Map 0xC5 0x20 to U+00AF. (from_ucs4): Map U+00ED to 0xC2 0x69, not 0xC2 0xE9. (BODY for TO_LOOP): Don't map U+02DC. Map U+02DD to 0xCD 0x20, not 0x00 0x20. Don't map U+2500..U+25E3.
2004-01-14Update.Ulrich Drepper2-10/+14
2004-01-12 Paolo Bonzini <bonzini@gnu.org> * posix/regcomp.c [_LIBC && !RE_ENABLE_I18N]: Drop code to support this, it is never true. (build_range_exp) [!_LIBC]: Do not create a range in MBCSET for a single-byte character set. (build_range_exp) [_LIBC]: Do not create a range in MBCSET for a single-byte character set without collation elements. (init_dfa): Do not conditionalize on _LIBC, it just makes the code less clear. (parse_bracket_exp): Use NON_MATCH variable in addition to "mbcset->non_match", not as an alternative. (build_charclass_op): rename NOT parameter to NON_MATCH, use it instead of declaring a variable. (parse_bracket_exp) [!_LIBC]: Pass NULL for MBCSET if the character set is single-byte.
2004-01-02Update.Ulrich Drepper2-3/+18
* sort-test.sh: Print the status for both the sorting tests, xfrm and collate, making it possible to know which one of them that fail if only one of them misbehaves. Indent output from 'diff -u' when sorting test fail, to make it easier to visually group the output. 2004-01-01 Petter Reinholdtsen <pere@hungry.com>
2004-01-02Update.Ulrich Drepper3-12/+18
2004-01-01 Petter Reinholdtsen <pere@hungry.com> * tst-fmon.data: Add simple test to check left justified currency values in the C locale. * tst-fmon.sh: Don't print every line. The program already prints the failing ones.
2004-01-01Update.Ulrich Drepper2-2/+6
2004-01-01 Ulrich Drepper <drepper@redhat.com> * tst-fmon.c (main): Fix typo in message.
2003-12-24* locales/en_ZA: Correcty typo in changelog (Sofware -> Software).Roland McGrath6-5/+15
* locales/hr_HR: Correct the email address of Tomislav Vujec. * locales/ja_JP: Document EUC-JP as the recommended charset. * locales/ko_KR: List Won-kyu Park as the author/contact for the locale. * locales/ru_UA: Correct the email address of Denis V. Dmitrienko.
2003-12-23Update.Ulrich Drepper2-3/+5
2003-12-22 Jakub Jelinek <jakub@redhat.com> * posix/regcomp.c: Remove C99-ism. * posix/tst-rxspencer.c: Likewise. Based on a patch by Alex Davis <alex14641@yahoo.com>. 2002-12-17 Paolo Bonzini <bonzini@gnu.org> * posix/regex_internal.h [!_LIBC] (internal_function): Define. (re_string_allocate, re_string_construct, re_string_reconstruct, re_string_realloc_buffers, build_wcs_buffer, build_wcs_upper_buffer, build_upper_buffer, re_string_translate_buffer, re_string_destruct, re_string_elem_size_at, re_string_char_size_at, re_string_wchar_at, re_string_context_at, re_node_set_alloc, re_node_set_init_1 re_node_set_init_2, re_node_set_init_copy, re_node_set_add_intersect, re_node_set_init_union, re_node_set_merge, re_node_set_insert re_node_set_compare, re_node_set_contains re_node_set_remove_at, re_dfa_add_node, re_acquire_state, re_acquire_state_context, free_state): Add internal_function to declaration. * posix/regexec.c (match_ctx_init, match_ctx_clean, match_ctx_free, match_ctx_free_subtops, match_ctx_add_entry, search_cur_bkref_entry, match_ctx_clear_flag, match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init, re_search_internal, re_search_2_stub, re_search_stub, re_copy_regs, acquire_init_state_context, prune_impossible_nodes, check_matching, check_halt_node_context, check_halt_state_context update_regs, proceed_next_node, push_fail_stack, pop_fail_stack, set_regs, free_fail_stack_return, sift_states_iter_mb, sift_states_backward update_cur_sifted_state, add_epsilon_src_nodes, sub_epsilon_src_nodes, check_dst_limits, check_dst_limits_calc_pos, check_subexp_limits, sift_states_bkref, clean_state_log_if_need, merge_state_array, transit_state, check_subexp_matching_top, transit_state_sb, transit_state_mb, transit_state_bkref, get_subexp, get_subexp_sub, find_subexp_node, check_arrival, check_arrival_add_next_nodes, find_collation_sequence_value, check_arrival_expand_ecl, check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable, check_node_accept_bytes, extend_buffers, group_nodes_into_DFAstates, check_node_accept): Likewise. * posix/regex_internal.c (re_string_construct_common, re_string_skip_chars, create_newstate_common, register_state, create_ci_newstate, create_cd_newstate, calc_state_hash): Likewise. (re_string_peek_byte_case, re_fetch_byte_case): Change declaration from ANSI to K&R. 2002-12-16 Paolo Bonzini <bonzini@gnu.org> * posix/regexec.c (build_trtable): Don't allocate the trtable until state->word_trtable is known. Don't hardcode UINT_BITS iterations on each bitset item.
2003-12-06Update.Ulrich Drepper59-377/+334
2003-12-04 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Add masking of fenv. * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
2003-12-05Update.Ulrich Drepper21-6/+245
2003-11-30 Petter Reinholdtsen <pere@hungry.com> * stdlib/strfmon.c: Correct formatting of international currency values. The international currency formatting should prefer the int_* values if they are set for a locale, and use the domestic values if the int_* values are unset.
2003-12-04Update.Ulrich Drepper134-29/+563
2003-12-03 Ulrich Drepper <drepper@redhat.com> * locale/programs/locarchive.c (enlarge_archive): Print size info only in verbose mode. * locale/iso-3166.def: Three letter code of Romania changed.
2003-11-26Update.Ulrich Drepper3-800/+9
2003-06-22 Petter Reinholdtsen <pere@hungry.com> * locale/program/ld-monetary.c: Only check the first three characters in int_curr_symbol against ISO-4217, to make the separator character used by a locale independent of the content in iso-4217.def. * locale/iso-4217.def: Remove the space character from all currency values to get the new test code in ld-monetary.c working.
2003-11-20Update.Ulrich Drepper2-1/+5
2003-11-20 Ulrich Drepper <drepper@redhat.com> * posix/PTESTS: Fix first test in GA143. 2003-11-20 Jakub Jelinek <jakub@redhat.com> * posix/regex_internal.h (re_dfastate_t): Remove trtable_search. Add word_trtable. * posix/regex_internal.c (create_newstate_common, free_state): Don't free trtable_search. * posix/regexec.c (check_matching): Remove fl_search argument. (transit_state_sb): Likewise. #ifdef out as unused. (build_trtable): Remove fl_search argument. Set state->word_trtable and state->trtable. Build separate word and non-word tables if multi-byte and they differ for some character. (transit_state): Remove fl_search argument. Don't update state->trtable here. Handle state->word_trtable. #ifdef out unused call to transit_state_sb. (re_search_internal): Update check_matching caller. (group_nodes_into_DFAstates): Don't clear non-ascii chars in accepts bitmask for multi-byte locales. * posix/bug-regex19.c (tests): Enable some commented out tests, add 2 new tests. * posix/tst-rxspencer.c (mb_tests): Don't test [[=b=]] for now as multi-byte. Don't run identical multi-byte tests multiple times unnecessarily. (main): Check setlocale return value. * posix/Makefile (tst-rxspencer-ARGS): Add --utf8 argument. (tst-rxspencer-ENV): Remove MALLOC_TRACE, add LOCPATH. ($(objpfx)tst-rxspencer-mem): Run another tst-rxspencer test here, without --utf8 argument but with MALLOC_TRACE.
2003-11-16Update.Ulrich Drepper2-1/+6
* posix/regex_internal.h: Add forward declaration of re_dfa_t. Replace last two parameters of re_string_allocate and re_string_construct with pointer to DFA. (re_dfa_t): Add map_notascii field. * posix/regcomp.c (re_compile_internal): Add call of re_string_construct. (init_dfa): Initialize mpa_notascii. * posix/regex_internal.c: Adjust definitions of re_string_allocate and re_string_construct. Pass DFA to re_string_construct. Adjust definition. Initialize map_notascii field. (build_wcs_upper_buffer): If map_notascii is zero use simplfied method to map ASCII values to upper case. * posix/regex.c: Include localeinfo.h. * posix/regexec.c: Adjust call of re_string_allocate. * locale/langinfo.h: Add _NL_CTYPE_MAP_TO_NONASCII. * locale/localeinfo.h (LIMAGIC): Change value. * locale/categories.def. Add entry for _NL_CTYPE_MAP_TO_NONASCII. * locale/C-ctype.h: Likewise. * locale/programs/ld-ctype.c: Compute whether any mapping maps from ASCII to non-ASCII value. Write out that value.
2003-11-12Update.Ulrich Drepper2-1/+6
2003-11-11 Jakub Jelinek <jakub@redhat.com> * posix/regcomp.c (re_compile_fastmap_iter): Handle RE_ICASE with MB_CUR_MAX > 1 locales in the fastmap. 2003-11-11 Jakub Jelinek <jakub@redhat.com> * posix/regex_internal.c (build_wcs_buffer): Fix comment typo. (build_wcs_upper_buffer): Likewise. Use towupper for wchar_t instead of toupper. * posix/Makefile (tests): Add bug-regex17 and bug-regex18. (bug-regex17-ENV, bug-regex18-ENV): Add LOCPATH. * posix/bug-regex18.c: New test.
2003-11-08Update.Ulrich Drepper6-0/+885
2003-11-08 Ulrich Drepper <drepper@redhat.com> * locales/ne_NP: New file. * locales/gu_IN: New file. * locales/kn_IN: New file. * locales/pa_IN: New file. Patch by Gnutupalli Karunakar <karunakar@freedomink.org>. * SUPPORTED (SUPPORTED-LOCALES): Add ne_NP, gu_IN, kn_IN, and pa_IN.
2003-11-04Update.Ulrich Drepper1-257/+413
2003-11-04 Jakub Jelinek <jakub@redhat.com> * io/ftw.c (ftw_dir): Close dir if callback with FTW_D type returns non-zero. * io/Makefile (tests): Add bug-ftw4. * io/bug-ftw4.c: New test.