aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-01-08Update.Ulrich Drepper10-283/+453
2000-01-07 Andreas Jaeger <aj@suse.de> Add support for Berkeley db 3.0.x and merge db support: * nss/nss_db/dummy-db.h (struct db30): New. (struct dbc30): New. Added DB30* flags. * nss/makedb.c: Move all database routines to db-open.c. (main): Adjust to interface changes. Load database early to initialize version dependend variables. * nss/db-open.c: Merge database routines from makedb.c. Define version dependend constansts as variables. (load_db): Check also for db 3. (internal_setent): Call dbopen. (db_cursor): New function from makedb; handles db 3 now. (dbopen): New function from makedb; handles db 3. * nss/nss_db/db-XXX.c: Use db_notfound since the value is different in different DB versions. * nss/nss_db/nss_db.h: Add version dependend constants as variables, add exportet interfaces from db-open.c. * nss/Makefile ($(objpfx)makedb): Link against db-open. 2000-01-07 Ulrich Drepper <drepper@cygnus.com> * misc/error.c: Don't use `defined _LIBC', only `_LIBC'. Reported by Jim Meyering. * time/strftime.c: Pretty printing. 2000-01-07 Andreas Jaeger <aj@suse.de> * manual/socket.texi (Host Names): Fix example. Reported by Marco Budde <budde@telos.de>.
2000-01-08Update.Ulrich Drepper3-38/+59
2000-01-06 Ulrich Drepper <drepper@cygnus.com> * localedata/Makefile (install-locales): Create locale directory if it does not exist. * locale/programs/charmap.c (charmap_read): Call lr_open here and not in parse_charmap. Try also the directories on the I18NPATH. (parse_charmap): Change accordingly.
2000-01-06Update.Ulrich Drepper3-0/+10
* sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c and oldsetrlimit64.c. * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and sys/procfs.h.
2000-01-06Update.Ulrich Drepper2-2/+4
* manual/texinfo.tex: Updated from latest official version.
2000-01-06Update.Ulrich Drepper2-2/+6
2000-01-05 Ulrich Drepper <drepper@cygnus.com> * debug/Makefile (distribute): Add frame.h.
2000-01-06Update.Ulrich Drepper7-17/+87
2000-01-05 Philip Blundell <philb@gnu.org> * sysdeps/arm/frame.h: New file. * sysdeps/generic/frame.h: Likewise. * sysdeps/generic/segfault.c (struct layout): Delete definition; include the above file instead. * sysdeps/generic/backtrace.c (struct layout): Likewise. (__backtrace): Use ADVANCE_STACK_FRAME. * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (ADVANCE_STACK_FRAME): New macro. (GET_FRAME): Apply above to returned value. * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
2000-01-05Update.Ulrich Drepper2-10/+31
* sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW. Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
2000-01-05Update.Ulrich Drepper7-138/+31
* io/ftw.c (process_entry): Cache object dev/inode only for directories (PR libc/1514). 2000-01-05 Andreas Schwab <schwab@suse.de> * locale/programs/charmap.c (charmap_read): Fix typo. 2000-01-05 Ulrich Drepper <drepper@cygnus.com> * locale/programs/charset.c: Removed.
2000-01-05Update.Ulrich Drepper6-3/+399
2000-01-05 Ulrich Drepper <drepper@cygnus.com> * iconvdata/Makefile: Add rules for ISO-8859-16 module. * iconvdata/gconv-modules: Likewise. * iconvdata/iso8859-16.c: New file.
2000-01-05* pthread.c (__pthread_initial_thread, pthread_manager_thread):Ulrich Drepper2-10/+16
Adjust initializers for struct _pthread_descr_struct change.
2000-01-05Update.Ulrich Drepper7-7/+21
2000-01-05 Andreas Schwab <schwab@suse.de> * iconv/iconv_prog.c (process_block): Add cast to avoid warning. * locale/programs/linereader.c: Remove #include of stringtrans.h.
2000-01-05Update.Ulrich Drepper2-1/+7
2000-01-05 Andreas Jaeger <aj@suse.de> * intl/locale.alias: Add lithunian entry. Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
2000-01-05Update.Ulrich Drepper5-195/+22
* locale/programs/stringtrans.c: Removed. * locale/programs/stringtrans.h: Removed. * locale/findlocale.c (_nl_find_locale): Don't try using mmap is _POSIX_MAPPED_FILES is not defined. * locale/findlocale.c (_nl_find_locale): Correct memory allocation for loc_name copy. * locale/setlocale.c (new_composite_name): Use _nl_C_name and _nl_POSIX_name instead of "C" and "POSIX" strings.
2000-01-05Update.Ulrich Drepper3-77/+14
* ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower. (__ctype32_toupper): Use _nl_C_CTYPE_toupper. * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed. We can reuse the _nl_C_LC_CTYPE_tolower table. (_nl_C_LC_CTYPE_toupper32): Likewise. (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and toupper32 entries.
2000-01-05Update.Ulrich Drepper2-89/+93
* locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for characters >= 0x80. (_nl_C_LC_CTYPE_class32): Likewise.
2000-01-05Update.Ulrich Drepper5-149/+254
2000-01-04 Ulrich Drepper <drepper@cygnus.com> * rt/aio.h (struct aioinit): Replace one aio_reserved value with aio_idle_time. * rt/aio_misc.c: Rewrite to not automatically terminate worker threads after the operation is done. Let them linger for a user-definable time. * rt/aio_cancel.c: Likewise. Patch by Willian M Shubert <william.m.shubert@intel.com>. * sysdeps/i386/i686/add_n.S: New file.
2000-01-05Redesigned how cancellation unblocks a thread from internal cancellation ↵Ulrich Drepper14-102/+714
points (sem_wait, pthread_join, pthread_cond_{wait,timedwait}). Cancellation won't eat a signal in any of these functions (*required* by POSIX and Single Unix Spec!). 2000-01-03 Kaz Kylheku <kaz@ashi.footprints.net> Redesigned how cancellation unblocks a thread from internal cancellation points (sem_wait, pthread_join, pthread_cond_{wait,timedwait}). Cancellation won't eat a signal in any of these functions (*required* by POSIX and Single Unix Spec!). * condvar.c: spontaneous wakeup on pthread_cond_timedwait won't eat a simultaneous condition variable signal (not required by POSIX or Single Unix Spec, but nice). * spinlock.c: __pthread_lock queues back any received restarts that don't belong to it instead of assuming ownership of lock upon any restart; fastlock can no longer be acquired by two threads simultaneously. * restart.h: restarts queue even on kernels that don't have queued real time signals (2.0, early 2.1), thanks to atomic counter, avoiding a rare race condition in pthread_cond_timedwait.
2000-01-04Update.Ulrich Drepper3-27/+47
2000-01-02 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference to obtain port mapping information. Avoid use of mprotect.
2000-01-04Update.Ulrich Drepper2-3/+7
2000-01-04 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add definition from 2.3.36.
2000-01-04Update.Ulrich Drepper11-81/+116
2000-01-04 Andreas Jaeger <aj@suse.de> * nss/nss_db/dummy-db.h (struct db24): Add missing field flags. (struct db27): Add missing fields byteswapped, join and flags; remove wrong member handleq. (struct dbc27): Correct lock field. * nss/makedb.c: Remove __P. 2000-01-04 Andreas Jaeger <aj@suse.de> * nss/nss_db/db-open.c (internal_setent): Check for db_open for success, fix a memory leak and clean up function. 2000-01-04 Ulrich Drepper <drepper@cygnus.com> * Makefile (install): Pass $(install_root) to ldconfig. Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>. 2000-01-03 Jakub Jelinek <jakub@redhat.com> * soft-fp/op-1.h: Fix division for machines using not normalizing version of udiv_qrnnd in longlong.h. * soft-fp/sysdeps/mips/sfp-machine.h: Likewise. * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise. * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise. Patch by Eddie C. Dost <ecd@skynet.be>. * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h. 2000-01-03 Andreas Schwab <schwab@suse.de> * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs, needed for change in common symbol handing in newer binutils.
2000-01-04Update.Ulrich Drepper2-10/+15
2000-01-03 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on kernel without mmap2 syscall.
2000-01-03Update.Ulrich Drepper4-10/+87
2000-01-03 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on ARM for kernels >= 2.3.35. 2000-01-03 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias. Optimise error handling a little. * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
2000-01-03Update.cvs/pre-glibc-2_1_3Ulrich Drepper2-1/+5
2000-01-03 Ulrich Drepper <drepper@cygnus.com> * SUPPORTED: Change lt_LT charset to ISO-8859-13.
2000-01-03Update.Ulrich Drepper9-14/+225
2000-01-03 Andreas Jaeger <aj@suse.de> * include/resolv.h: Remove declarations for __ns_name_ntop and __ns_name_unpack since those are available in resolv/arpa/nameser.h. 2000-01-03 Andreas Jaeger <aj@suse.de> * time/tst-strptime.c (test_tm): Add tests for all fields of struct tm. 2000-01-03 Ulrich Drepper <drepper@cygnus.com> * string/bits/string2.h (__strsep_g): Don't handle empty __S special. 2000-01-03 Andreas Jaeger <aj@suse.de> * string/tester.c (test_strsep): Add one more test. 2000-01-03 Philip Blundell <philb@gnu.org> * string/tester.c (test_mempcpy): New function. (main): Call it. (test_memcpy): Test unaligned cases too. * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define. * sysdeps/arm/fpu/bits/mathdef.h: New file. * nss/Makefile: Add rules to build makedb.
2000-01-03Update.Ulrich Drepper4-6/+208
* posix/Makefile (tests): Add tst-mmap. * posix/tst-mmap.c: New file. * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2 call before handling error.
2000-01-02Update.Ulrich Drepper3-7/+15
* sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets. * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2000-01-02Update.Ulrich Drepper5-1073/+1076
* iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for 0xa2e6 and 0xa2e7. (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC. * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new mappings. * iconvdata/testdata/EUC-KR: Add Euro and Registered sign. * iconvdata/testdata/ISO-2022-KR: Likewise.
2000-01-02Update.Ulrich Drepper2-4/+5
* sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger. * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
2000-01-02Update.Ulrich Drepper4-39/+13
* iconvdata/gconv-modules: Remove BALTIC. It's the same as ISO-8859-13. * iconvdata/Makefile (distribute): Remove baltic.c. (modules): Remove BALTIC. (gen-8bit-gap-modules): Remove baltic. * iconvdata/baltic.c: Removed.
2000-01-02Update.Ulrich Drepper2-2/+4
* sysdeps/posix/system.c: Correct return value for LINE == NULL.
2000-01-02Update.Ulrich Drepper8-823/+21
* signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend. * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL). Reported by Philip Blundell <Philip.Blundell@pobox.com>.
2000-01-02Update.Ulrich Drepper6-5/+667
2000-01-02 Ulrich Drepper <drepper@cygnus.com> * nss/nss_db/nss_db.h: Add definitions needed for makedb. * nss/nss_db/dummy-db.h: Likewise. * nss/makedb.c: New file. Copied from file in db2, modified to not depend on being linked against libdb.
2000-01-02Update.Ulrich Drepper213-64297/+6
* Makeconfig (all-subdirs): Remove db and db2. * db/*: Removed. * db2/*: Removed.
2000-01-02Update.Ulrich Drepper9-261/+506
* nss/nss_db/db-XXX.c: Move internal_setent and internal_endent functions from here... * nss/db-alias.c: ...and here... * nss/db-netgrp.c: ...and here... * nss/nss_db/db-open.c: ...to here. New file. * nss/nss_db/dummy-db.h: New file. * nss/nss_db/nss_db.h: New file. * nss/Depend: Depend in dlfcn, not db2. * nss/Makefile (libnss_db-routines): Add db-open. (distribute): Add nss_db.h dummy-db.h. (libnss_db.so): Replace libdb dependency by $(libdl). Based on a patch by Zack Weinberg.
2000-01-01Update.Ulrich Drepper6-230/+442
2000-01-01 Ulrich Drepper <drepper@cygnus.com> * locale/programs/ld-ctype.c: Implement rest of transliteration definition parsing. * locale/programs/locfile-kw.gperf: New keyword translit_ignore. * locale/programs/locfile-token.h: Add tok_translit_ignore.
1999-12-31(collate_output): Update.Ulrich Drepper5-81/+86
* locale/programs/ld-collate.c (collate_output): Emit correct information for collation elements. Don't write over end of array idx. * posix/regex.c: Handle also collation elements at end of range. * posix/PTESTS: Fix a few typos.
1999-12-31Update.Ulrich Drepper4-9/+21
* sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
1999-12-31Update.Ulrich Drepper2-6/+6
1999-12-31 Ulrich Drepper <drepper@cygnus.com> * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX. I have no idea where this came from.
1999-12-31Update.Ulrich Drepper26-424/+465
1999-12-31 Andreas Jaeger <aj@suse.de> * libio/strfile.h: Remove K&R compatibility. * locale/langinfo.h: Likewise. * locale/localeconv.c (localeconv): Likewise. * locale/programs/simple-hash.h: Likewise. * nis/nis_xdr.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * nis/rpcsvc/nis_callback.h: Likewise. * nis/rpcsvc/nis.h: Likewise. * nis/ypclnt.c: Likewise. * nscd/nscd_proto.h: Likewise. * nscd/nscd.c: Likewise. * sysdeps/generic/inttypes.h: Likewise. * sysdeps/gnu/utmpx.h: Likewise. * nis/nis_intern.h: Remove K&R compatibility; add missing ints. * sunrpc/rpcsvc/rusers.x: Likewise. * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat. * elf/dl-misc.c: Remove __libc_write prototype since it's already in include/unistd.h. * elf/dl-profile.c: Likewise. * elf/dl-load.c: Likewise for __libc_read. * elf/dl-profile.c: Remove __P. * elf/sprof.c: Likewise. * elf/sln.c: Likewise.
1999-12-31Update.Ulrich Drepper8-144/+356
1999-12-31 Ulrich Drepper <drepper@cygnus.com> * locale/langinfo.h: Add constants for wide character collation symbol table. * locale/categories.def: Add appropriate entries for collate symbol table entries. * locale/C-collate.c: Add initializers for new entries. Remove commented out code. * locale/elem-hash.h: New file. * locale/Makefile (distribute): Add elem-hash.h. * locale/programs/ld-collate.c: Implement output of collate symbol table. * posix/regex.c: Implement collation class handling.
1999-12-31Update.Ulrich Drepper1-2/+6
1999-12-30 Ulrich Drepper <drepper@cygnus.com> * posix/regex.c (regex_compile): Implement equivalence class handling. for thread safety even with very large PLTs, better efficiency, and to fix a cache-flushing bug. Also support the Motorola
1999-12-31(regex_compile): Implement equivalence class handling.Ulrich Drepper1-1/+135
1999-12-31* sysdeps/powerpc/dl-machine.c: Many minor formatting changes. ↵Geoff Keating2-147/+233
(OPCODE_LWZU): New macro. (OPCODE_ADDIS_HI): New macro. (OPCODE_LIS_HI): New macro. (__elf_machine_runtime_setup): Change PLT code-generation scheme for thread safety even with very large PLTs, better efficiency, and to fix a cache-flushing bug. Also support the Motorola 8xx processors which have a different cache line size than all the others. (__elf_machine_fixup_plt): Likewise. (__process_machine_rela): Don't use elf_machine_fixup_plt. 1999-12-30 Geoffrey Keating <geoffk@cygnus.com> * sysdeps/powerpc/dl-machine.c: Many minor formatting changes. (OPCODE_LWZU): New macro. (OPCODE_ADDIS_HI): New macro. (OPCODE_LIS_HI): New macro. (__elf_machine_runtime_setup): Change PLT code-generation scheme for thread safety even with very large PLTs, better efficiency, and to fix a cache-flushing bug. Also support the Motorola 8xx processors which have a different cache line size than all the others. (__elf_machine_fixup_plt): Likewise. (__process_machine_rela): Don't use elf_machine_fixup_plt.
1999-12-31Update.Ulrich Drepper5-105/+197
1999-12-30 Ulrich Drepper <drepper@cygnus.com> * wcsmbs/wcscoll.c: Use multibyte character version. * wcsmbs/wcsxfrm.c: Likewise. * string/strcoll.c: Prepare to be used for the wide character version. * string/strxfrm.c: Likewise. * locale/weightwc.h: New file.
1999-12-30Function to locate collation weight information for wide characters.Ulrich Drepper1-0/+136
1999-12-30* sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove Geoff Keating3-12/+21
the (void) casts as now feraiseexcept returns a value. (feclearexcept): Likewise. * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0', it interferes with the macros for AIX. 1999-12-30 Geoff Keating <geoffk@cygnus.com> * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove the (void) casts as now feraiseexcept returns a value. (feclearexcept): Likewise. * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0', it interferes with the macros for AIX.
1999-12-30(collate_finish): Fix typo in message.Ulrich Drepper1-1/+1
1999-12-30Update.Ulrich Drepper2-8/+42
* locale/programs/ld-collate.c (collate_finish): Always define weight for UNDEFINED if not defined by the user but don't complain unless it is needed in the multibyte character table. (collate_output): Add extra dummy elements in wide char tables in the same way done for multibyte. Always output undefined entry in wide character table. Contributed by Richard Henderson, Jakub Jelinek and others.
1999-12-30Update.Ulrich Drepper2-2/+2
* locale/Makefile (categories): Remove commented-out old definition.
1999-12-30Update.Ulrich Drepper2-40/+27
1999-12-30 Ulrich Drepper <drepper@cygnus.com> * locale/programs/ld-collate.c (insert_value): Don't pass wide string to new_element if the wide char is not valid. (handle_ellipsis): Likewise. (collate_read): It's no problem if the string in the collating element definition cannot be represented as multibyte or wide char string.