aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-06-20Update.Ulrich Drepper
* iconv/gconv_int.h (strict gconv_module): Remove all members associated with regular expressions. Use a simple string as the from name. * iconv/gconv_db.c: Remove code handling regular expressions. * iconv/gconv_conf.c: Likewise. * iconv/iconv_prog.c: Likewise. * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
2000-06-19Update.Ulrich Drepper
2000-06-19 Ulrich Drepper <drepper@redhat.com> * iconv/gconv.h (__gconv_trans_fct): Add new parameter. General namespace cleanup. (struct __gconv_trans_data): Add next field. (struct __gconv_step_data): Make __trans a pointer. * iconv/gconv_conf.c: Split out code to find gconv directories from __gconv_read_conf in new functions. * iconv/gconv_int.h: Define new data structure and declare new functions for handling of gconv directory list. * iconv/gconv_open.c: Allow more than one error handling step being used. Call function to load error handling module if it is none of the builtin transformations. * iconv/gconv_close.c: Add code to free transliteration data. * iconv/gconv_trans.c: Add functions to load and unload modules implementing transliteration etc. * iconv/skeleton.c: Call all context functions now that more than one module is allowed. * iconv/loop.c (STANDARD_ERR_HANDLING): New macro. * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places where the full error handling using transliteration is needed. * iconvdata/8bit-gap.c: Likewise. * iconvdata/8bit-generic.c: Likewise. * iconvdata/ansi_x3.110.c: Likewise. * iconvdata/big5.c: Likewise. * iconvdata/big5hkscs.c: Likewise. * iconvdata/euc-cn.c: Likewise. * iconvdata/euc-jp.c: Likewise. * iconvdata/euc-kr.c: Likewise. * iconvdata/euc-tw.c: Likewise. * iconvdata/gbgbk.c: Likewise. * iconvdata/gbk.c: Likewise. * iconvdata/iso-2022-cn.c: Likewise. * iconvdata/iso-2022-jp.c: Likewise. * iconvdata/iso-2022-kr.c: Likewise. * iconvdata/iso646.c: Likewise. * iconvdata/iso8859-1.c: Likewise. * iconvdata/iso_6937-2.c: Likewise. * iconvdata/iso_6937.c: Likewise. * iconvdata/johab.c: Likewise. * iconvdata/sjis.c: Likewise. * iconvdata/t.61.c: Likewise. * iconvdata/uhc.c: Likewise. * iconvdata/unicode.c: Likewise. * iconvdata/utf-16.c: Likewise. * libio/iofwide.c: Reset __trans member of __gconv_trans_data structure correctly after last change. * wcsmbs/btowc.c: Likewise. * wcsmbs/mbrtowc.c: Likewise. * wcsmbs/mbsnrtowcs.c: Likewise. * wcsmbs/mbsrtowcs.c: Likewise. * wcsmbs/wcrtomb.c: Likewise. * wcsmbs/wcsnrtombs.c: Likewise. * wcsmbs/wcsrtombs.c: Likewise. * wcsmbs/wctob.c: Likewise. * localedata/Makefile: Set -Wno-format for some files since gcc does not know all the format specifiers. 2000-06-18 Ulrich Drepper <drepper@redhat.com> * locale/loadlocale.c (_nl_unload_locale): Remove a bit of unneeded code. * locale/lc-time.c (_nl_init_era_entries): Likewise.
2000-06-18(_nl_init_era_entries): Remove a bit of unneeded code.Ulrich Drepper
2000-06-18Update.Andreas Jaeger
2000-06-18 Andreas Jaeger <aj@suse.de> * sysdeps/mips/dl-machine.h: Always use $25 as jump register. Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2000-06-18* sysdeps/mips/dl-machine.h: Always use $25 as jump register. Andreas Jaeger
Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2000-06-18Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use LINUX_LINK_MAX. * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2000-06-18Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/alpha/pathconf.c: Define LINK_MAX.
2000-06-18Update.Ulrich Drepper
* locale/programs/ld-ctype.c (ctype_output): Really write out mboutdigits information. * localedata/tst-trans.c: Add code to test printf's I flag with locale. * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment. * localedata/tests/trans.def: Add outdigit information. * localedata/tst-mbswcs3.c: Remove comment.
2000-06-17Update.Ulrich Drepper
* stdio-common/tiformat.c (sprint_ints): Add tests for I flag. * libio/tst_wprintf.c (main): Add test for I flag.
2000-06-17Update.Ulrich Drepper
* stdio-common/vfprintf.c (vfprintf): Fix handling of I flag. more cases. * stdlib/strfmon.c: Corrected problems with missing signs and * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes. * manual/message.texi (Using gettextized software): Doc Fixes. * manual/filesys.texi (File Size): Doc Fixes. * manual/charset.texi (glibc iconv Implementation): Doc Fixes. * locale/programs/ld-collate.c (collate_output): Doc Fixes. * iconv/gconv_db.c (find_derivation): Doc Fixes. * manual/install.texi: Doc Fixes. * manual/search.texi (Hash Search Function): Doc Fixes. * manual/stdio.texi (Output Conversion Syntax): Doc Fixes. * FAQ.in: Doc Fixes. * config.h.in: Doc Fixes. * sysdeps/generic/dl-sysdep.c: Doc Fixes.
2000-06-17Update.Ulrich Drepper
2000-06-17 Ulrich Drepper <drepper@redhat.com> * iconv/gconv_trans.c: Implement handling if translit_ignore. * locale/langinfo.h: Add entries for translit_ignore information. * locale/categories.def: Add entries for new LC_CTYPE elements. * locale/C-ctype.c: Add initializers for new fields. Use NULL pointer instead of "" where possible. * locale/programs/ld-ctype.c: Write out translit_ignore information. * intl/Depend: Add localedata. * intl/tst-gettext.c: Call setlocale for LC_CTYPE. * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
2000-06-17Update.Ulrich Drepper
* locale/langinfo.h: Add entries for default_missing information. * locale/C-ctype.c: Add initializers for new fields. * iconv/gconv_trans.c: If nothing matched, try to use default_missing information. * locale/categories.h: Add entries for all LC_CTYPE values. * locale/programs/ld-ctype.c (ctype_output): Write out default_missing information. * localedata/tst-trans.c: Write out an error message if class is not found.
2000-06-16Update.Ulrich Drepper
2000-06-16 Ulrich Drepper <drepper@redhat.com> * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix. * iconv/gconv_open.c: Remove error handling specification from `from' character set name. * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with new parameter to always enable transliteration. * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible change. (struct locale_data): Add new members use_translit and options. * locale/findlocale.c (_nl_find_locale): Set use_translit flag is character set name contained modifier TRANSLIT. * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit and options fields. (_nl_unload_locale): Free options string if necessary. * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if the locale names suggested this. * locale/C-address.c: Add two new initialilzers to adjust data structure for new format. * locale/C-collate.c: Likewise. * locale/C-ctype.c: Likewise. * locale/C-identification.c: Likewise. * locale/C-measurement.c: Likewise. * locale/C-messages.c: Likewise. * locale/C-monetary.c: Likewise. * locale/C-name.c: Likewise. * locale/C-numeric.c: Likewise. * locale/C-paper.c: Likewise. * locale/C-telephone.c: Likewise. * locale/C-time.c: Likewise. * locale/setlocale.c: Add some more __builtin_expect.
2000-06-16Update.Ulrich Drepper
2000-06-15 Ulrich Drepper <drepper@redhat.com> * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to unsigned char **. (__gconv_init_fct): Remove two parameters. * iconv/gconv_int.h (__gconv_transliterate): Renamed from gconv_transliterate. Remove two parameters. Change prototypes of builtin functions according to __gconv_fct change. * iconv/skeleton.c: Change type of fifth parameter. make sure it is != NULL only during error handling. Stop in this case after the conversion. * iconv/gconv_trans.c: Replace with real implementation for __gconv_transliterate. * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate. * iconv/gconv.c: Change calls to downstream functions once again. Use NULL for the fifth parameter instead of pointer to output buffer. * libio/iofwide.c: Likewise. * wcsmbs/btowc.c: Likewise. * wcsmbs/mbrtowc.c: Likewise. * wcsmbs/mbsnrtowcs.c: Likewise. * wcsmbs/mbsrtowcs.c: Likewise. * wcsmbs/wcrtomb.c: Likewise. * wcsmbs/wcsnrtombs.c: Likewise. * wcsmbs/wcsrtombs.c: Likewise. * wcsmbs/wctob.c: Likewise. * iconv/gconv_simple.c: Remove two parameters from error handling function call. * iconvdata/8bit-gap.c: Likewise. * iconvdata/8bit-generic.c: Likewise. * iconvdata/ansi_x3.110.c: Likewise. * iconvdata/big5.c: Likewise. * iconvdata/big5hkscs.c: Likewise. * iconvdata/euc-cn.c: Likewise. * iconvdata/euc-jp.c: Likewise. * iconvdata/euc-kr.c: Likewise. * iconvdata/euc-tw.c: Likewise. * iconvdata/gbgbk.c: Likewise. * iconvdata/gbk.c: Likewise. * iconvdata/iso-2022-cn.c: Likewise. * iconvdata/iso-2022-jp.c: Likewise. * iconvdata/iso-2022-kr.c: Likewise. * iconvdata/iso646.c: Likewise. * iconvdata/iso8859-1.c: Likewise. * iconvdata/iso_6937-2.c: Likewise. * iconvdata/iso_6937.c: Likewise. * iconvdata/johab.c: Likewise. * iconvdata/sjis.c: Likewise. * iconvdata/t.61.c: Likewise. * iconvdata/uhc.c: Likewise. * iconvdata/unicode.c: Likewise. * iconvdata/utf-16.c: Likewise.
2000-06-15Update.Ulrich Drepper
2000-06-15 Greg McGary <greg@mcgary.org> * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs of callnum assignment. Tolerate callnum expressions containing parens.
2000-06-15Update.Ulrich Drepper
* sysdeps/mach/hurd/i386/Versions: ...and here. New file.
2000-06-15Update.Ulrich Drepper
* login/Makefile (utmpd): Remove rule to build utmpd. * csu/Versions: Move libgcc frame handling functions from here... * sysdeps/unix/sysv/linux/alpha/Versions: ...to here... * sysdeps/unix/sysv/linux/arm/Versions: ...to here... * sysdeps/unix/sysv/linux/i386/Versions: ...to here... * sysdeps/unix/sysv/linux/m68k/Versions: ...to here... * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here... * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here. New file.
2000-06-15Update.Ulrich Drepper
* locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
2000-06-15Update.Ulrich Drepper
2000-06-14 Ulrich Drepper <drepper@redhat.com> * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
2000-06-14Pretty print.Ulrich Drepper
Closes PR libc/1762. Patch by Andreas Schwab <schwab@suse.de>.
2000-06-14Update.Ulrich Drepper
2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward compatibility. * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise. * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise. * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise. * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise. 2000-06-14 Jakub Jelinek <jakub@redhat.com> * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is defined, terminate quotes and read them after the comment char. * configure.in (HAVE_SECTION_QUOTES): Test whether __attribute__((section ("x"))) puts quotes around x or not. * config.h.in (HAVE_SECTION_QUOTES): Add. * configure: Rebuilt.
2000-06-14Add entry for SH.Ulrich Drepper
2000-06-14Update.Andreas Jaeger
* sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir depending on the configure option --sysconfdir. Closes PR libc/1762. Patch by Andreas Schwab <schwab@suse.de>.
2000-06-14Update.Andreas Jaeger
2000-06-14 Andreas Jaeger <aj@suse.de> * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user entry point. Reported by Jim Pick <jim@jimpick.com>.
2000-06-14* sysdeps/mips/dl-machine.h: Pass finalizer correctly to user Andreas Jaeger
entry point. Reported by Jim Pick <jim@jimpick.com>.
2000-06-14Update.Ulrich Drepper
2000-06-14 Ulrich Drepper <drepper@redhat.com> * misc/syslog.c (vsyslog): Allow open_memstream to fail without crashing the application. Emit some simple error message. Reported by mju@panasas.com [PR libc/1769].
2000-06-14Update.Ulrich Drepper
2000-06-13 Kaz Kylheku <kaz@ashi.footprints.net> A few optimizations. Got rid of unnecessary wakeups of timer threads, tightened up some critical regions and micro-optimized some list manipulation code. * sysdeps/pthread/timer_routines.c (__timer_thread_queue_timer): Returns int value now to indicate whether timer was queued at head. * sysdeps/pthread/posix-timer.h: Likewise. * sysdeps/pthread/timer_settime.c (timer_settime): Takes advantage of new return value from __timer_thread_queue_timer to avoid waking up timer thread unnecessarily. * sysdeps/pthread/posix-timer.h (timer_id2ptr): No longer checks inuse flag, because this requires mutex to be held. Callers updated to do the check when they have the mutex. * sysdeps/pthread/timer_getoverr.c: Add check for inuse here. * sysdeps/pthread/timer_settime.c (timer_settime): Tighter critical regions: avoids making system calls while holding timer mutex, and a few computations were moved outside of the mutex as well. * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise. * sysdeps/pthread/posix-timer.h (list_unlink_ip): Function name changed to list_unlink_ip, meaning idempotent. Pointer manipulation changed to get better better code out of gcc. * sysdeps/pthread/timer_routines.c (list_unlink): Non-idempotent version of list_unlink added here. * sysdeps/pthread/timer_delete.c: Use appropriate list unlink function in all places: idempotent one for timers, non-idempotent one for thread nodes. * sysdeps/pthread/timer_settime: Likewise. * sysdeps/pthread/timer_routines.c: Likewise.
2000-06-14Update.Ulrich Drepper
* malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
2000-06-14Update.Ulrich Drepper
* crypt/Makefile (distribute): Add md5.h.
2000-06-14Update.Ulrich Drepper
* Makefile (distribute): Add include/shlib-compat.h.
2000-06-14Update.Ulrich Drepper
* Make-dist: Search for tests also in sysdeps hierachy.
2000-06-14Update.Ulrich Drepper
* crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h, ufc.c, speeds.c, README.ufc-crypt, and Banner. * sysdeps/sparc/Subdirs: New file. * locale/Makefile (distribute): Add weightwc.h and programs/localedef.h. * time/Makefile (distribute): Add datemsk. * sysdeps/ia64/Dist: Add softpipe.h. * sysdeps/unix/sysv/aix/Dist: New file. * posix/setpgrp.c: Moved to... * sysdeps/generic/setpgrp.c: ...here. New file. * io/mknod.c: Moved to... * sysdeps/generic/mknod.c: ...here. New file. * sysdeps/unix/sysv/linux/ia64/Dist: New file. * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h. * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c. * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S, gprsave0.S, gprrest1.S, and gprrest0.S. * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h. * posix/Makefile (routines): Add spawnattr_getsigmask, spawnattr_getschedpolicy, spawnattr_getschedparam, spawnattr_setsigmask, spawnattr_setschedpolicy, and spawnattr_setschedparam. * posix/Versions: Add posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and posix_spawnattr_setschedparam. * posix/spawnattr_setschedparam.c: Fix typo. * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask): Correct typo. * login/programs/utmpd.c: Removed. * login/programs/utmpd.h: Removed. * login/programs/utmpd-private.h: Removed. * Makefile (distribute): Add include/db_185.h and include/db.h. * iconvdata/Makefile (distribute): Add iso-ir-165.c and iso-ir-165.h. * elf/Makefile (distribute): Add missing files. * dlfcn/Makefile: Add back rules to include eval in libdl.so. * elf/eval.c: Moved to... * dlfcn/eval.c: ...here. New file. * Makefile (distribute): Also distribute ChangeLog.1?.
2000-06-13Update.Ulrich Drepper
* Make-dist (+tsrcs): Remove .args handling here as well.
2000-06-13Update.Ulrich Drepper
* rt/Makefile (tests): Add tst-timer. * sysdeps/generic/tst-timer.c: New file.
2000-06-13Update.Ulrich Drepper
* Makerules (sources): Don't add BP sources here. * login/Makefile (distribute): Remove xtmp.h.
2000-06-13Update.Ulrich Drepper
2000-06-13 Ulrich Drepper <drepper@redhat.com> * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid is true. Reported by Bruno Haible <haible@ilog.fr>.
2000-06-13(main): Fix appending slashes if omit_invalid is true.Ulrich Drepper
2000-06-13Update.Andreas Jaeger
2000-06-13 Andreas Jaeger <aj@suse.de> * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines. Patch by Ralf Baechle <ralf@gnu.org>.
2000-06-13* sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines. Andreas Jaeger
Patch by Ralf Baechle <ralf@gnu.org>.
2000-06-13Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/syscalls.list: Add parameter information for mincore syscall. * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers for all files
2000-06-13Update.Ulrich Drepper
2000-06-13 Ulrich Drepper <drepper@redhat.com> * misc/sys/cdefs.h: Define __bounded and __unbounded if __BOUNDED_POINTERS__ is not defined. 2000-06-07 Greg McGary <greg@mcgary.org> * sysdeps/generic/bp-sym.h: New file. * sysdeps/generic/bp-start.h: New file. * sysdeps/i386/elf/start.S: Designate BP symbols. * sysdeps/generic/libc-start.c: Wrap bounds around argv & envp and each of their string members. 2000-06-07 Greg McGary <greg@mcgary.org> * sysdeps/unix/make-syscalls.sh: Add comments to output that aid debugging & comprehension. Map simple syscall signatures to number of args. Generate BP syscall thunk definitions. * sysdeps/generic/bp-thunks.h: New file. * sysdeps/unix/syscalls.list: Replace arg-count with simple return+arg signature. * sysdeps/unix/common/syscalls.list: Likewise. * sysdeps/unix/inet/syscalls.list: Likewise. * sysdeps/unix/mman/syscalls.list: Likewise. * sysdeps/unix/sysv/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise. 2000-06-07 Greg McGary <greg@mcgary.org> * Makeconfig (CPPFLAGS-.ob): pass -fbounded-pointers for all files *.[cS]. (CFLAGS-.ob): Don't optimize sibling calls. (bppfx): New variable. * Makerules (elide-bp-thunks): New variable. (elide-routines.*): Elide BP-* files for all but *.ob. (sources): Include bp-thunks. * iconv/gconv_simple.c: Remove unnecessary prototype. * iconv/gconv_trans.c: Pretty print.
2000-06-13Update.Ulrich Drepper
* elf/elf.h (R_SH_NUM): Got accidently dropped.
2000-06-13Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/configure.in: Improve handling of minimal kernel versions. Add information about IA-64 kernel.
2000-06-13Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/configure.in: Allow architecture specific minimal supported kernel versions to be specified.
2000-06-13Update.Ulrich Drepper
* libio/iofwide.c (_IO_fwide): Initialize transliteration part of step data structure. * wcsmbs/btowc.c: Likewise. * wcsmbs/mbrtowc.c: Likewise. * wcsmbs/mbsnrtowcs.c: Likewise. * wcsmbs/mbsrtowcs.c: Likewise. * wcsmbs/wcrtomb.c: Likewise. * wcsmbs/wcsnrtombs.c: Likewise. * wcsmbs/wcsrtombs.c: Likewise. * wcsmbs/wctob.c: Likewise.
2000-06-13Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file. * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
2000-06-13Update.Ulrich Drepper
* shlib-versions: Earliest backward compatible version for SH is 2.2.
2000-06-13Update.Ulrich Drepper
* misc/sys/cdefs.h: Remove one more __P.
2000-06-13Fix typo.Ulrich Drepper
* sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
2000-06-13Update.Ulrich Drepper
* sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C++. Reported by HJ Lu.