Ulrich Drepper [Tue, 29 Aug 2000 02:54:55 +0000 (02:54 +0000)]
Update.
* libio/stdio.h: Add fmemopen prototype.
2000-08-25 Andreas Jaeger <aj@suse.de>
* libio/Makefile (routines): Add fmemopen.
(tests): Add test-fmemopen.
* libio/Versions: Add fmemopen with version GLIBC_2.2.
* libio/test-fmemopen.c: New file.
* libio/fmemopen.c: New file.
Patches by Hanno Mueller <kontakt@hanno.de>.
2000-08-28 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Tue, 29 Aug 2000 02:37:20 +0000 (02:37 +0000)]
Update.
* sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
Ulrich Drepper [Tue, 29 Aug 2000 01:22:46 +0000 (01:22 +0000)]
Update.
2000-08-28 Ulrich Drepper <drepper@redhat.com>
* locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
to avoid crashing statically linked applications.
Ulrich Drepper [Tue, 29 Aug 2000 01:20:23 +0000 (01:20 +0000)]
Update.
2000-08-27 Bruno Haible <haible@clisp.cons.org>
* string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
If nrules == 0 and srclen < n, copy only srclen + 1 characters.
* sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
If the result is fits in the buffer, copy only as many bytes as needed.
* sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
buffer after copying numbuf into it.
* sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2000-08-27 Bruno Haible <haible@clisp.cons.org>
* posix/confstr.c (confstr): When string_len > len, NUL-terminate
the result. When string_len < len, don't clear the rest of the buffer.
2000-08-27 Bruno Haible <haible@clisp.cons.org>
Support for new LC_COLLATE format.
* locale/coll-lookup.h: New file.
* locale/weightwc.h (findidx): When size == 0, call
collidx_table_lookup.
* wcsmbs/wcscoll.c: Include coll-lookup.h.
* wcsmbs/wcsxfrm.c: Likewise.
* posix/fnmatch.c: Likewise.
* posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
collseq_table_lookup.
* locale/programs/3level.h: New file.
* locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
by including "3level.h".
* locale/programs/ld-collate.c (wchead_table, collidx_table,
collseq_table): New types, defined by including "3level.h".
(locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
(encoding_mask, encoding_byte): Remove.
(utf8_encode): Use simple shifts instead.
(collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
(collate_output): New local variable tablewc_3level. When
!oldstyle_tables, set table_size to 0 and names to NULL and fill
tablewc_3level instead of tablewc. Change format of TABLEWC and
COLLSEQWC entries written to the file.
* locale/C-collate.c (collseqwc): Change format.
(_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
of COLLSEQWC.
* locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
2000-08-27 Bruno Haible <haible@clisp.cons.org>
* locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
(locale_ctype_t): New charnames_idx field.
(ctype_startup): Initialize charnames_idx field.
(find_idx): Speed up dramatically by using charnames_idx inverse table.
2000-08-27 Bruno Haible <haible@clisp.cons.org>
* locale/C-ctype.c: Switch to new locale format.
(_nl_C_LC_CTYPE_names): Remove array.
(STRUCT_CTYPE_CLASS): New macro.
(_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
New three-level tables.
(_nl_C_LC_CTYPE_width): Change from array to three-level table.
(_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
12 class tables and 2 map tables at the end.
* ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
(_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
New declarations.
(b): Remove trailing semicolon.
(__ctype_names, __ctype_width): Don't initialize.
(__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
2000-08-27 Bruno Haible <haible@clisp.cons.org>
* elf/dl-load.c (open_path): Add a argument telling whether *dirsp
is guaranteed to be allocated with the same malloc() and may be
passed to free().
(_dl_map_object): Update open_path calls. If rtld_search_dirs has
been set to empty by an earlier open_path call, don't pass it again.
Ulrich Drepper [Mon, 28 Aug 2000 23:52:21 +0000 (23:52 +0000)]
Update.
* include/libintl.h: Include <locale.h> since libintl.h doesn't if
we are not optimizing.
Ulrich Drepper [Mon, 28 Aug 2000 23:36:01 +0000 (23:36 +0000)]
Update.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
inclusion.
Ulrich Drepper [Mon, 28 Aug 2000 22:31:02 +0000 (22:31 +0000)]
Update.
2000-08-28 Ulrich Drepper <drepper@redhat.com>
* stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
really match EOF.
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
Ulrich Drepper [Mon, 28 Aug 2000 22:29:36 +0000 (22:29 +0000)]
(ungetc): Cast c to signed char first to really match EOF.
Andreas Jaeger [Mon, 28 Aug 2000 15:24:13 +0000 (15:24 +0000)]
Update.
2000-08-28 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
Andreas Jaeger [Mon, 28 Aug 2000 15:15:32 +0000 (15:15 +0000)]
Tweaks for AMD Athlon.
Mark Kettenis [Mon, 28 Aug 2000 14:05:55 +0000 (14:05 +0000)]
* sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from getpeername. Use ISO C style function definition. (getpeername): Provide weak alias. * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from setrlimit. Use ISO C style function definition. (setrlimit): Provide weak alias.
2000-08-28 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
getpeername. Use ISO C style function definition.
(getpeername): Provide weak alias.
* sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
setrlimit. Use ISO C style function definition.
(setrlimit): Provide weak alias.
Andreas Jaeger [Mon, 28 Aug 2000 11:17:03 +0000 (11:17 +0000)]
Update.
2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
* shlib-versions: Add a rule for S/390 to the libm version list.
* sysdeps/s390/Versions: New file.
* sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
* sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
* sysdeps/unix/sysv/linux/s390/Versions: New file.
* sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
* sysdeps/unix/sysv/linux/s390/chown.c: New file.
* sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
* sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
* sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
* sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
* sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
* sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
* sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
* sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
* sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
* sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
* sysdeps/unix/sysv/linux/s390/xstat.c: New file.
Andreas Jaeger [Mon, 28 Aug 2000 11:09:29 +0000 (11:09 +0000)]
Add a rule for S/390 to the libm version list.
Ulrich Drepper [Mon, 28 Aug 2000 08:39:15 +0000 (08:39 +0000)]
Update.
* sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
(CFLAGS-initfini.s): Add -DWEAK_GMON_START.
Ulrich Drepper [Mon, 28 Aug 2000 08:32:23 +0000 (08:32 +0000)]
Update.
* elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
* elf/dl-close.c (_dl_close): Print debug message if object is not
unloaded.
* elf/dl-open.c (dl_open_worked): Print message about opencount before
returning to caller.
Ulrich Drepper [Mon, 28 Aug 2000 08:00:42 +0000 (08:00 +0000)]
Update.
2000-08-28 Ulrich Drepper <drepper@redhat.com>
* po/zh.po: Renamed to...
* po/zh_TW.po: ...this.
Ulrich Drepper [Mon, 28 Aug 2000 07:55:48 +0000 (07:55 +0000)]
Renamed to zh_TW.
Geoff Keating [Mon, 28 Aug 2000 06:20:43 +0000 (06:20 +0000)]
* sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
* sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
Geoff Keating [Mon, 28 Aug 2000 05:59:48 +0000 (05:59 +0000)]
* sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
* sysdeps/powerpc/fpu/feenablxcpt.c: New file.
* sysdeps/powerpc/fpu/fegetexcept.c: New file.
* sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2000-08-27 Geoff Keating <geoffk@cygnus.com>
* sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
* sysdeps/powerpc/fpu/feenablxcpt.c: New file.
* sysdeps/powerpc/fpu/fegetexcept.c: New file.
* sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
Ulrich Drepper [Mon, 28 Aug 2000 04:08:02 +0000 (04:08 +0000)]
Mention broken LC_COLLATE specification.
Ulrich Drepper [Mon, 28 Aug 2000 03:51:40 +0000 (03:51 +0000)]
Update.
* locale/programs/ld-collate.c (insert_weights): Also update
backpointer of next element.
(collate_read): Allow definition of new collation symbols in stage 2.
Symbol after reorder-after can be UCS4 value.
Allow reordering of collation symbols and elements.
Do not only move reorder entry in new position. Instead call
insert_weight to do this and read the weights.
Ulrich Drepper [Sun, 27 Aug 2000 19:05:19 +0000 (19:05 +0000)]
Update.
* locale/findlocale.c (free_mem): Add cast to avoid warning.
Ulrich Drepper [Sun, 27 Aug 2000 18:45:00 +0000 (18:45 +0000)]
Update.
* intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
to determine invalid locale name.
* locale/findlocale.c (_nl_find_locale): Likewise.
Ulrich Drepper [Sun, 27 Aug 2000 18:28:09 +0000 (18:28 +0000)]
Update.
* posix/annexc.c: Correct test for unavailable feature.
Ulrich Drepper [Sun, 27 Aug 2000 16:54:09 +0000 (16:54 +0000)]
Update.
2000-08-27 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
__inline.
Ulrich Drepper [Sun, 27 Aug 2000 03:28:06 +0000 (03:28 +0000)]
Update.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
syscall.
Ulrich Drepper [Sun, 27 Aug 2000 01:02:34 +0000 (01:02 +0000)]
Update.
* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
(sysdep_routines): Add oldgetrlimit64.
Ulrich Drepper [Sat, 26 Aug 2000 23:41:19 +0000 (23:41 +0000)]
Update.
2000-08-26 Ulrich Drepper <drepper@redhat.com>
* elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
reldepmod2.c, reldepmod3.c, and reldepmod4.c.
(tests): Add unload, reldep, reldep2, and reldep3.
(modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
and reldepmod4.
Add rules to build and run unload, reldep, reldep2, and reldep3.
* elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
Don't create relocation dependency if it is nonzero.
(_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
can never happen here.
(_dl_lookup_versioned_symbol): Add new parameter explicit.
Don't create relocation dependency if it is nonzero.
(_dl_lookup_versioned_symbol_skip): Remove relocation dependency
stuff. This can never happen here.
* sysdeps/generic/ldsodefs.h: Change prototypes.
* elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
_dl_lookup_up and _dl_lookup_versioned_symbol.
(RESOLV): Likewise.
* elf/dl-runtime.c (fixup): Likewise.
(profile_fixup): Likewise.
* elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
_dl_lookup_symbol.
* elf/dl-symbol.c (_dl_symbol_value): Likewise.
* elf/rtld.c (dl_main): Likewise.
* elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
_dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
and pass down the caller map.
(_dl_vsym): Likewise.
* elf/reldep.c: New file.
* elf/reldep2.c: New file.
* elf/reldep3.c: New file.
* elf/reldepmod1.c: New file.
* elf/reldepmod2.c: New file.
* elf/reldepmod3.c: New file.
* elf/reldepmod4.c: New file.
* elf/unload.c: New file.
* elf/unloadmod.c: New file.
* elf/do-lookup.h: Remove unused undef_name parameter.
* elf/dl-lookup.c: Adjust callers.
Ulrich Drepper [Fri, 25 Aug 2000 22:25:03 +0000 (22:25 +0000)]
Update.
2000-08-25 Ulrich Drepper <drepper@redhat.com>
* iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
irreversible in recursive call of conversion function to signal that
no error handling is wanted.
* iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
(STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
* iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
recursive error handling call, otherwise to &lirreversible. Use it
for calls to conversion functions.
* iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
transliterating.
(ucs4_internal_loop_unaligned): Likewise.
(ucs4le_internal_loop): Likewise.
(ucs4le_internal_loop_unaligned): Likewise.
Ulrich Drepper [Fri, 25 Aug 2000 22:13:09 +0000 (22:13 +0000)]
Update.
2000-08-25 Ulrich Drepper <drepper@redhat.com>
* locales/i18n (default_missing): Change back to only U003F.
Ulrich Drepper [Fri, 25 Aug 2000 22:06:25 +0000 (22:06 +0000)]
(ucs4_internal_loop): Don't handle errors when transliterating. (ucs4_internal_loop_unaligned): Likewise. (ucs4le_internal_loop): Likewise. (ucs4le_internal_loop_unaligned): Likewise.
Greg McGary [Fri, 25 Aug 2000 21:10:42 +0000 (21:10 +0000)]
Update.
2000-08-25 Greg McGary <greg@mcgary.org>
* sysdeps/i386/memchr.S: Check high bound against chars
actually scanned.
* sysdeps/i386/memcmp.S: Likewise.
* sysdeps/i386/stpncpy.S: Adjust high-bound check to
account for pointers that lie one beyond end-of-buffer.
Greg McGary [Fri, 25 Aug 2000 21:09:43 +0000 (21:09 +0000)]
* sysdeps/i386/memchr.S: Check high bound against
chars actually scanned.
* sysdeps/i386/memcmp.S: Likewise.
* sysdeps/i386/stpncpy.S: Adjust high-bound check to
account for pointers that lie one beyond end-of-buffer.
Ulrich Drepper [Fri, 25 Aug 2000 19:33:19 +0000 (19:33 +0000)]
Update.
2000-08-25 Ulrich Drepper <drepper@redhat.com>
* elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
* elf/nodelete.c (fini_ran): New global variable.
(do_test): Before every dlclose call clear fini_ran and test
afterwards that it is not set by the destructors.
* elf/nodelmod1.c: Add destructor which sets fini_ran.
* elf/nodelmod2.c: Likewise.
* elf/nodelmod4.c: Likewise.
Ulrich Drepper [Fri, 25 Aug 2000 19:02:14 +0000 (19:02 +0000)]
Update.
2000-08-21 Jes Sorensen <jes@linuxcare.com>
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
getrlimit to the list.
2000-08-18 Jes Sorensen <jes@linuxcare.com>
* sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
long double format so use ldbl-96 instead of ldbl-128.
Ulrich Drepper [Fri, 25 Aug 2000 18:23:57 +0000 (18:23 +0000)]
Update.
* sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
even if bits 10 a 11 are non-zero.
* sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
Ulrich Drepper [Fri, 25 Aug 2000 18:07:41 +0000 (18:07 +0000)]
Update.
* Makeconfig: Ensures the soversions.mk part of Makefile gets
included before building gnu/lib-names.h
Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
Ulrich Drepper [Fri, 25 Aug 2000 16:48:42 +0000 (16:48 +0000)]
Update.
* elf/dl-close.c (_dl_close): Don't run destructors of objects
marked DF_1_NODELETE.
Ulrich Drepper [Fri, 25 Aug 2000 16:37:20 +0000 (16:37 +0000)]
Update.
2000-08-25 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/system.c (__libc_system): We cannot use vfork here
since we call sigaction in the child.
Ulrich Drepper [Fri, 25 Aug 2000 16:04:57 +0000 (16:04 +0000)]
(PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Defined. (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: Defined.
Andreas Jaeger [Fri, 25 Aug 2000 12:48:58 +0000 (12:48 +0000)]
Update.
* iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
gconv-modules.
2000-08-25 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Fri, 25 Aug 2000 11:40:02 +0000 (11:40 +0000)]
Update.
2000-08-25 Andreas Jaeger <aj@suse.de>
* manual/arith.texi (Control Functions): Clarify possible
arguments. Closes PR libc/1856.
Andreas Jaeger [Fri, 25 Aug 2000 09:03:32 +0000 (09:03 +0000)]
Update.
2000-08-24 H.J. Lu <hjl@gnu.org>
* stdio-common/Makefile (tests): Don't do it for cross compiling.
* stdio-common/Makefile (tests): Likewise.
Andreas Jaeger [Fri, 25 Aug 2000 09:02:59 +0000 (09:02 +0000)]
(tests): Don't do it for cross compiling.
Ulrich Drepper [Thu, 24 Aug 2000 23:20:02 +0000 (23:20 +0000)]
Update.
2000-08-24 Ulrich Drepper <drepper@redhat.com>
* iconvdata/unicode.c (gconv_init): Correct test for direction.
Ulrich Drepper [Thu, 24 Aug 2000 22:55:41 +0000 (22:55 +0000)]
(gconv_init): Correct test for direction.
Andreas Jaeger [Thu, 24 Aug 2000 14:11:19 +0000 (14:11 +0000)]
Update.
* Examples/ex13.c: Include <string.h> for strerror prototype and
<stdlib.h> for abort prototype.
Andreas Jaeger [Thu, 24 Aug 2000 12:39:25 +0000 (12:39 +0000)]
Update.
2000-08-24 Andreas Jaeger <aj@suse.de>
* malloc/Makefile (extra-objs): Fix last patch, build memusagestat
only if LIBGD is available.
Andreas Jaeger [Thu, 24 Aug 2000 10:19:29 +0000 (10:19 +0000)]
Update.
* sysdeps/unix/sysv/syscalls.list: Likewise.
Andreas Jaeger [Thu, 24 Aug 2000 10:18:49 +0000 (10:18 +0000)]
Use __setrlimit as strong name.
Ulrich Drepper [Thu, 24 Aug 2000 10:04:58 +0000 (10:04 +0000)]
Update.
2000-08-24 Ulrich Drepper <drepper@redhat.com>
* resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
problems with now restrict parameter types.
(convaddr4to6): Likewise.
2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
Ulrich Drepper [Thu, 24 Aug 2000 10:00:43 +0000 (10:00 +0000)]
(res_ourserver_p): Cleanup the type mess to avoid problems with now restrict parameter types. (convaddr4to6): Likewise.
Andreas Jaeger [Thu, 24 Aug 2000 09:57:58 +0000 (09:57 +0000)]
Update.
2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
* sysdeps/s390/fpu/fedisblxcpt.c: New file.
* sysdeps/s390/fpu/feenablxcpt.c: New file.
* sysdeps/s390/fpu/fegetexcept.c: New file.
* sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
FPC_VALID_MASK.
Andreas Jaeger [Thu, 24 Aug 2000 09:30:58 +0000 (09:30 +0000)]
Update.
Move inclusion of test-skeleton to front to have prototype for
add_temp_file.
Andreas Jaeger [Thu, 24 Aug 2000 08:58:23 +0000 (08:58 +0000)]
Update.
2000-08-24 Andreas Jaeger <aj@suse.de>
* malloc/Makefile (extra-objs): Add memusagestat.o.
(generated): Added memusage and memusagestat for make clean.
* libio/tst_putwc.c (do_test): Delete temporary file.
* posix/Makefile (generated): Add wordexp-tst.out.
Andreas Jaeger [Thu, 24 Aug 2000 08:57:04 +0000 (08:57 +0000)]
(generated): Add some .out files.
Ulrich Drepper [Thu, 24 Aug 2000 08:53:30 +0000 (08:53 +0000)]
Update.
2000-08-24 Ulrich Drepper <drepper@redhat.com>
* resolv/res_hconf.c (free_mem): Remove not needed if.
* time/tzset.c (free_mem): New function.
* string/strsignal.c (free_mem): New function.
* inet/inet_ntoa.c (free_mem): New function.
* sunrpc/clnt_perr.c (free_mem): New function.
Ulrich Drepper [Thu, 24 Aug 2000 08:41:41 +0000 (08:41 +0000)]
(free_mem): Remove unneeded if.
Andreas Jaeger [Thu, 24 Aug 2000 08:33:49 +0000 (08:33 +0000)]
Update.
* posix/unistd.h: Move internal prototypes from here ...
* include/unistd.h: ... to here.
* sysvipc/sys/shm.h: Add const attribute to __getpagesize.
Andreas Jaeger [Thu, 24 Aug 2000 08:32:13 +0000 (08:32 +0000)]
* posix/unistd.h: Move internal prototypes from here ...
* include/unistd.h: ... to here.
Ulrich Drepper [Thu, 24 Aug 2000 08:28:11 +0000 (08:28 +0000)]
(free_mem): New function. Free allocated memory.
Andreas Jaeger [Thu, 24 Aug 2000 08:09:16 +0000 (08:09 +0000)]
Update.
2000-08-24 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
Andreas Jaeger [Thu, 24 Aug 2000 08:08:51 +0000 (08:08 +0000)]
Use __setrlimit as strong name.
Ulrich Drepper [Thu, 24 Aug 2000 07:57:44 +0000 (07:57 +0000)]
Update.
* grp/initgroups.c (initgroups): Deallocate groups array.
Reported by jani.raiha@sonera.com [PR libc/1868].
Ulrich Drepper [Thu, 24 Aug 2000 07:41:38 +0000 (07:41 +0000)]
Update.
2000-08-24 Ulrich Drepper <drepper@redhat.com>
* sysdeps/s390/Dist: Add fpu/fenv_libc.h.
* sysdeps/alpha/Dist: Likewise.
Ulrich Drepper [Thu, 24 Aug 2000 06:11:27 +0000 (06:11 +0000)]
Update.
* crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
destructor). Reported by Solar Designer <solar@false.com>.
Ulrich Drepper [Wed, 23 Aug 2000 20:39:41 +0000 (20:39 +0000)]
Update.
2000-08-23 Ulrich Drepper <drepper@redhat.com>
* iconv/gconv_conf.c (add_module): Remove some unneeded code to
avoid adding double slashes.
Ulrich Drepper [Wed, 23 Aug 2000 18:04:17 +0000 (18:04 +0000)]
Update.
2000-08-23 Jakub Jelinek <jakub@redhat.com>
* dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
out of the __REDIRECT macro.
Ulrich Drepper [Wed, 23 Aug 2000 18:03:00 +0000 (18:03 +0000)]
(alphasort, versionsort): Move __attribute_pure__ out of the __REDIRECT macro.
Andreas Jaeger [Wed, 23 Aug 2000 17:09:29 +0000 (17:09 +0000)]
Update.
* sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
Use static __inline instead of _EXTERN_INLINE.
* misc/sys/select.h: Move prototypes of __select from here ...
* include/sys/select.h: ... to here.
* socket/sys/socket.h: Move prototypes of __send and __connect
from here....
* include/sys/socket.h: ... to here.
Andreas Jaeger [Wed, 23 Aug 2000 17:05:51 +0000 (17:05 +0000)]
* misc/sys/select.h: Move prototypes of __select from here ...
* include/sys/select.h: ... to here.
* socket/sys/socket.h: Move prototypes of __send and __connect
from here....
* include/sys/socket.h: ... to here.
Ulrich Drepper [Wed, 23 Aug 2000 16:58:41 +0000 (16:58 +0000)]
Update.
2000-08-23 Ulrich Drepper <drepper@redhat.com>
* stdio-common/vfscanf.c: Add %F format support.
* locale/programs/ld-ctype.c (ctype_output): Make sure
_NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
_NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
(ctype_read): Enable returning of wide character strings for reading
transliteration information.
Andreas Jaeger [Wed, 23 Aug 2000 16:57:31 +0000 (16:57 +0000)]
(_EXTERN_INLINE): Remove. Use static __inline instead of _EXTERN_INLINE.
Ulrich Drepper [Wed, 23 Aug 2000 16:53:42 +0000 (16:53 +0000)]
Add %F format support.
Andreas Jaeger [Wed, 23 Aug 2000 16:48:51 +0000 (16:48 +0000)]
Update.
2000-08-23 Andreas Jaeger <aj@suse.de>
* locale/programs/ld-ctype.c (ctype_read): Fix parameter for
lr_error.
Andreas Jaeger [Wed, 23 Aug 2000 14:20:17 +0000 (14:20 +0000)]
Update.
2000-08-23 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
__setrlimit as strong name. Takes only 2 arguments.
* sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
takes only 2 arguments.
Andreas Jaeger [Wed, 23 Aug 2000 09:53:54 +0000 (09:53 +0000)]
Update.
* sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
Andreas Jaeger [Wed, 23 Aug 2000 09:04:23 +0000 (09:04 +0000)]
Update.
2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
only for !SHARED case. Get the code from dl-osinfo.h.
2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
Andreas Jaeger [Wed, 23 Aug 2000 09:03:54 +0000 (09:03 +0000)]
Add __ to JB_GPR* defines.
Ulrich Drepper [Wed, 23 Aug 2000 08:25:46 +0000 (08:25 +0000)]
Update.
2000-08-23 Ulrich Drepper <drepper@redhat.com>
* locale/programs/ld-ctype.c (ctype_read): Allow more than one
default_missing character being specified, pick the first
representable.
Ulrich Drepper [Wed, 23 Aug 2000 07:44:35 +0000 (07:44 +0000)]
(ctype_read): Allow more than one default_missing character being specified, pick the first representable.
Andreas Jaeger [Wed, 23 Aug 2000 07:23:46 +0000 (07:23 +0000)]
Add some pure attributes.
Andreas Jaeger [Wed, 23 Aug 2000 07:22:48 +0000 (07:22 +0000)]
Update.
2000-08-23 Andreas Jaeger <aj@suse.de>
* include/wchar.h: Add some pure attributes.
* time/time.h: Add const attribute for dysize.
* include/stdlib.h: Add malloc attribute to __posix memalign.
* stdlib/stdlib.h: Add some pure and malloc attributes.
* wcsmbs/wchar.h: Likewise.
* dirent/dirent.h: Add some pure attributes.
* include/dirent.h: Likewise.
Andreas Jaeger [Wed, 23 Aug 2000 07:22:12 +0000 (07:22 +0000)]
Add const attribute for dysize.
Ulrich Drepper [Wed, 23 Aug 2000 07:15:54 +0000 (07:15 +0000)]
Update.
2000-08-23 Jakub Jelinek <jakub@redhat.com>
* inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
on 64bit arches.
Ulrich Drepper [Wed, 23 Aug 2000 07:03:49 +0000 (07:03 +0000)]
Update.
2000-08-22 Ulrich Drepper <drepper@redhat.com>
* iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
missing buffer size checks.
Ulrich Drepper [Wed, 23 Aug 2000 06:59:33 +0000 (06:59 +0000)]
In conversion to ISO-2022-JP, add two missing buffer size checks.
Andreas Jaeger [Wed, 23 Aug 2000 06:57:06 +0000 (06:57 +0000)]
Update.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
strong name.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
Andreas Jaeger [Wed, 23 Aug 2000 06:55:15 +0000 (06:55 +0000)]
Use __setrlimit as strong name.
Ulrich Drepper [Wed, 23 Aug 2000 06:52:05 +0000 (06:52 +0000)]
Update.
2000-08-23 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
otherwise __LINUX_KERNEL_VERSION might not be defined.
(MIN): Define if not already defined.
Ulrich Drepper [Wed, 23 Aug 2000 06:35:22 +0000 (06:35 +0000)]
Update.
* stdio-common/vfprintf.c: Handle %F format.
* stdio-common/printf-parse.h (parse_one_spec): Likewise.
Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
* stdio-common/tstdiomisc.c: Add test for %F printf format.
* po/zh.po: New file.
Ulrich Drepper [Wed, 23 Aug 2000 05:52:43 +0000 (05:52 +0000)]
Update.
* iconvdata/sjis.c: In conversion from UCS4, correct test for
enough room in target buffer.
Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
* iconvdata/bug-iconv1.c: New file.
* iconvdata/Makefile (tests): Add bug-iconv1.
Ulrich Drepper [Wed, 23 Aug 2000 04:04:02 +0000 (04:04 +0000)]
Update.
2000-08-22 Ulrich Drepper <drepper@redhat.com>
* locale/iso-4217.def: Update entry for Nicaragua.
Ulrich Drepper [Wed, 23 Aug 2000 03:47:08 +0000 (03:47 +0000)]
Update.
* locales/es_MX: Correct int_curr_symbol.
* locales/es_PE: Likewise.
Ulrich Drepper [Wed, 23 Aug 2000 02:59:03 +0000 (02:59 +0000)]
Update.
* SUPPORTED: Add missing supported locales.
* locales/fa_IR: Correct a few of the contained bugs.
* locales/en_CA,2.5: Removed.
* locales/fr_CA,2.13: Removed.
* locales/in_ID: Removed.
Ulrich Drepper [Wed, 23 Aug 2000 02:38:11 +0000 (02:38 +0000)]
Update.
* locales/zh_HK: New file.
* charmaps/BIG5HKSCS: New file.
Ulrich Drepper [Wed, 23 Aug 2000 02:36:34 +0000 (02:36 +0000)]
Chinese language locale for Hong Kong.
Mark Kettenis [Tue, 22 Aug 2000 19:31:27 +0000 (19:31 +0000)]
* hurd/hurdsig.c: Rearrange headers a bit. (_hurdsig_init): Block until _hurd_msgport_thread is initialized when cthreads is being used.
2000-08-22 Mark Kettenis <kettenis@gnu.org>
* hurd/hurdsig.c: Rearrange headers a bit.
(_hurdsig_init): Block until _hurd_msgport_thread is initialized
when cthreads is being used.
Ulrich Drepper [Tue, 22 Aug 2000 17:59:19 +0000 (17:59 +0000)]
(_dl_sysdep_start): Move DL_SYSDEP_OSCHECK before the use of the first system call.
Ulrich Drepper [Tue, 22 Aug 2000 17:48:22 +0000 (17:48 +0000)]
Update.
* elf/Makefile (distribute): Add dl-osinfo.h.
* sysdeps/generic/dl-osinfo.h: New file.
* sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
if defined.
* sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
only for !SHARED case. Get the code from dl-osinfo.h.