Age | Commit message (Collapse) | Author |
|
1998-09-13 Ulrich Drepper <drepper@cygnus.com>
* io/pwd.c (main): Add call to mtrace.
* malloc/mtrace.pl: Quote @ in string.
|
|
1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp.c (parse_arith): Fix memory leaks.
(exec_comm): Likewise.
(parse_param): Likewise.
(wordexp): Likewise.
(exec_comm): Reduce number of function return points.
(parse_param): Likewise.
(wordexp): Likewise.
|
|
1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
yield three fields, not two. Test both parameter expansion and
command substitution for correct field-splitting behaviour.
* posix/wordexp.c (w_emptyword): New function.
(parse_param): Use it.
(exec_comm): Likewise, for consistency with the way parse_param
splits fields.
(parse_param): Fix some memory leaks.
|
|
1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
Don't mark asm `volatile'.
(__elf_machine_runtime_setup): Clear the last partial block in the PLT
from the data cache too. Assume it isn't in the instruction cache yet.
(__elf_machine_fixup_plt): Clear the modified address from the caches.
|
|
1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/generic/segfault.c (install_handler): Install signal
handler with SA_ONSTACK instead of setting the stack flags to
SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
defined.
1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* signal/signal.h: Fix multiple inclusion guard to cover the
entire file.
* wcsmbs/wchar.h: Remove prototype of internal function
__mbsrtowcs.
* sysdeps/i386/i486/bits/string.h (memchr): Don't do
arithmetic on `void *'.
|
|
1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp-test.c: Fix wrong tests. Add new tests.
* posix/wordexp.c (wordexp): Perform word-splitting instead of
field-splitting here.
(wordexp): If out of memory mid-word, free the word (but still
leave pwordexp alone for caller to see).
(parse_param): Allow for zero-length fields (smarter checking of
memory allocation failure).
(w_addword): Convert NULL words to "".
(wordexp): Convert left-over IFS characters to blanks (like bash).
|
|
* iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
and NATS-SEFI.
Define *-routines variables for new modules.
(distribute): Add .c files for new modules.
(awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
and nats-sefi.h.
Add rules for header generation.
* iconvdata/gconv-modules: Add entries for new modules.
* iconvdata/iso_10367-box.c: New file.
* iconvdata/mac-is.c: New file.
* iconvdata/nats-dano.c: New file.
* iconvdata/nats-sefi.c: New file.
Add rules for header generation.
|
|
|
|
* configure.in: Use test -f instead of test -e.
Patch by John Tobey <jtobey@banta-im.com>.
* sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
* sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
* sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
* sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
* sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
* sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
* sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
Patches by John Tobey <jtobey@banta-im.com>.
|
|
* time/strftime.c (my_strftime): Delay use of *tp values until
latest possible point to allow partly initialized structures
(e.g., from strptime).
* sysdeps/unix/sysv/linux/init-first.c [!PIC]: Define __libc_init_first
using init-first.h.
1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
* elf/dl-load.c (_dl_init_paths): Don't check the dynamic
loader if PIC is not defined.
1998-09-11 Ulrich Drepper <drepper@cygnus.com>
|
|
1998-09-11 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
and ISO_5428.
Define *-routines variables for new modules.
(distribute): Add .c files for new modules.
(awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
iso_5427.h, iso_5427-ext.h, and iso_5428.h.
Add rules for hedaer generation.
* iconvdata/gconv-modules: Add entries for new modules.
* iconvdata/csn_369103.c: New file.
* iconvdata/cwi.c: New file.
* iconvdata/dec-mcs.c: New file.
* iconvdata/ecma-cyrillic.c: New file.
* iconvdata/gost_19768-74.c: New file.
* iconvdata/greek-ccitt.c: New file.
* iconvdata/greek7-old.c: New file.
* iconvdata/greek7.c: New file.
* iconvdata/inis-8.c: New file.
* iconvdata/inis-cyrillic.c: New file.
* iconvdata/inis.c: New file.
* iconvdata/iso6937-2.c: New file.
* iconvdata/iso_2033.c: New file.
* iconvdata/iso_5427-ext.c: New file.
* iconvdata/iso_5427.c: New file.
* iconvdata/iso_5428.c: New file.
* iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
entries.
Convert U02dd correctly.
* sysdeps/unix/sysv/linux/Makefile [subdir==misc]
(sysdep_headers): Remove sys/debugreg.h.
* sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
(sysdep_headers): Add sys/debugreg.h.
|
|
GREEK-CCITT, GREEK7, GREEK7-OLD, INIS, INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT, and ISO_5428. Define *-routines variables for new modules. (distribute): Add .c files for new modules. (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h, ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h, greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h, iso_5427.h, iso_5427-ext.h, and iso_5428.h. Add rules for hedaer generation.
|
|
_dl_main_searchlist not _dl_default_scope to _dl_init_next. * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
* sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
_dl_main_searchlist not _dl_default_scope to _dl_init_next.
* sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
* sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
|
|
1998-09-11 Ulrich Drepper <drepper@cygnus.com>
* resolv/res_init.c (res_init): Handle resolv.conf file with only
one nameserver correctly. Patch by HJ Lu.
* iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
and ANSI_X3.110.
Define *-routines variables for new modules.
(distribute): Add .c files for new modules.
(awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
Add rules for hedaer generation.
* iconvdata/gconv-modules: Add entries for new modules. Pretty print.
* iconvdata/ansi_x3.110.c: New file.
* iconvdata/asmo_449.c: New file.
* iconvdata/baltic.c: New file.
* iconvdata/iec_p27-1.c: New file.
* iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
entries.
Convert U02dc correctly.
* math/atest-exp.c: Add parentheses to avoid gcc warnings.
* math/atest-exp2.c: Likewise.
* math/atest-sincos.c: Likewise.
* posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
is defined.
1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* string/strcoll.c: Optimize a few expressions.
* string/strxfrm.c: Likewise.
|
|
1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/locale.texi: Fix typos.
|
|
* stdlib/random_r.c (__setstate_r): Allow call with same state
array as currently used (PR libc/774).
|
|
* include/limits.h: Include gcc's header even if this file is
found more than once before it (PR libc/778)
|
|
* iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
correction.
|
|
* sysdeps/unix/sysv/linux/Makefile (subdirs==misc)
[sysdep_headers]: Remove sys/debugreg.h.
* sysdeps/unix/sysv/linux/i386/Makefile (subdirs==misc)
[sysdep_headers]: Add sys/debugreg.h.
* sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
* sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
|
|
1998-09-10 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/tmpnam.c: Move local static variable buf to
toplevel and rename to tmpnam_buffer to ease debugging.
Patch by Joe Keane <jgk@jgk.org>.
Optimize s == NULL case a bit.
|
|
1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
* resolv/res_init.c (res_init): Initialize _res.nscount and
_res.nsaddr.sin_port differently for the can when no loopback
is available to allow immediate timeout in non-networking environments.
Patch by Cristian Gafton <gafton@redhat.com>.
|
|
1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
BAR and not EM DASH.
* localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
* localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
Fixes PR libc/717.
|
|
1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
* timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
for test.
* timezone/tst-timezone.c (tests): Fix typo in last patch.
* time/tzfile.c (__tzfile_read): Handle case when there are no
transitions. Set __timezone based on computed offset.
* time/tzset.c (tzset_internal): Set __timezone before returning.
* time/tzset.c (tzset_internal): Optimize handling of local string
copy.
1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
libc/776).
* sysdeps/powerpc/bits/fenv.h: Add parens.
|
|
1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
* math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
(csqrt_test): Likewise.
* sysdeps/powerpc/bits/fenv.h: Add parens. .
|
|
1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/powerpc/dl-start.S (_start): Pass pointer to
_dl_main_searchlist not _dl_default_scope to _dl_init_next.
Patch by Benjamin Kosnik <bkoz@cygnus.com>.
|
|
1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
* elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
the special `-1' pointer.
|
|
|
|
|
|
1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
inline.
1998-09-07 Paul Eggert <eggert@twinsun.com>
* time/mktime.c (__EXTENSIONS__): Define if not defined.
(_REENTRANT): Remove. It has undesirable consequences in
Solaris 2.6 (e.g. it turns off the putc macro). Defining
__EXTENSIONS__ makes localtime_r and gmtime_r visible, which
is what we want.
* time/strftime.c: Likewise.
1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/dl-error.c: Fix spelling.
1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* stdlib/strfmon.c: Quiet -Wparentheses warnings.
* stdio-common/_itoa.c: Likewise.
* stdio-common/printf_fp.c: Likewise.
* stdio-common/vfscanf.c: Likewise.
* wcsmbs/wcstok.c: Likewise.
* sysdeps/generic/glob.c: Likewise.
* posix/getopt.c: Likewise.
* sysdeps/posix/getaddrinfo.c: Likewise.
* posix/wordexp.c: Likewise.
* io/ftw.c: Likewise.
* io/fts.c: Likewise.
* misc/getpass.c: Likewise.
* iconv/gconv_conf.c: Likewise.
* argp/argp-fmtstream.c: Likewise.
* argp/argp-help.c: Likewise.
* elf/dl-load.c: Likewise.
* locale/programs/stringtrans.c: Likewise.
* catgets/gencat.c: Likewise.
* posix/getconf.c: Likewise.
* iconv/gconv_conf.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* string/strcoll.c: Optimize a few expressions.
* string/strxfrm.c: Likewise.
1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/dl-open.c (dl_open_worker): Move decl of new_global up one
level to avoid uninit variable warning.
1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
instead of _dl_default_scope[2] as argument to _dl_init_next.
Fix compatibility problems introduced in last change.
|
|
|
|
instead of _dl_default_scope[2] as argument to _dl_init_next.
* sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
instead of _dl_default_scope[2] as argument to _dl_init_next.
|
|
C9x macro.
Wed Sep 9 10:34:06 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
C9x macro.
|
|
* csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
defined.
* sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
-DWEAK_GMON_START to CFLAGS-initfini.s.
|
|
* elf/rtld.c (dl_main): Don't update _dl_loaded here.
|
|
* elf/dl-object.c (_dl_new_object): Store map address in
_dl_loaded if _dl_loaded is NULL.
|
|
1998-09-08 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/setrlimit64.c: Remove stub warning.
|
|
* resolv/res_debug.c: Likewise.
|
|
* argp/argp-help.c: Likewise.
* argp/argp-parse.c: Likewise.
|
|
* stdlib/strtol.c: Likewise.
* string/strcoll.c: Likewise.
* string/strxfrm.c: Likewise.
|
|
* db2/btree/bt_cursor.c: Likewise.
* db2/common/db_region.db_c: Likewise.
* db2/common/db_salloc.db_c: Likewise.
* db2/db/db.c: Likewise.
* db2/db/db_rec.c: Likewise.
* db2/hash/hash.c: Likewise.
* db2/hash/hash_page.c: Likewise.
* db2/hash/hash_rec.c: Likewise.
* db2/log/log_findckp.c: Likewise.
* db2/log/log_get.c: Likewise.
* db2/log/log_put.c: Likewise.
* db2/mp/mp_fget.c: Likewise.
* db2/mp/mp_fput.c: Likewise.
* db2/mp/mp_region.c: Likewise.
|
|
1998-09-07 Ulrich Drepper <drepper@cygnus.com>
* db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
quiet.
|
|
1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
* math/tgmath.h (scalb): Only define for __USE_MISC or
__USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
|
|
1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* libio/stdio.h: Fix comment.
* stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
__USE_ISOC9X.
|
|
1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* Makeconfig (+gccwarn): Remove -Wno-parentheses.
* elf/dl-open.c: Quiet -Wparentheses warnings.
* iconvdata/johab.c: Likewise.
* iconvdata/uhc.c: Likewise.
* inet/inet_net.c: Likewise.
* io/fts.c: Likewise.
* locale/newlocale.c: Likewise.
* misc/getttyent.c: Likewise.
* misc/mntent_r.c: Likewise.
* misc/ttyslot.c: Likewise.
* nscd/nscd_conf.c: Likewise.
* nss/nsswitch.c: Likewise.
* resolv/gethnamaddr.c: Likewise.
* resolv/nsap_addr.c: Likewise.
* resolv/res_debug.c: Likewise.
* stdio-common/_itoa.c: Likewise.
* stdlib/strtod.c: Likewise.
* string/strverscmp.c: Likewise.
* sunrpc/svc.c: Likewise.
* sysdeps/libm-ieee754/e_cosh.c: Likewise.
* sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
* sysdeps/libm-ieee754/e_sinh.c: Likewise.
* sysdeps/posix/getaddrinfo.c: Likewise.
* include/dlfcn.h: Likewise.
* elf/dlfcn.h: Declare dladdr only for __USE_GNU.
Define RTLD_DEFAULT.
|
|
1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
* elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
for use of global scope.
* elf/dlvsym.c (dlvsym_doit): Likewise.
1998-09-02 Paul Eggert <eggert@twinsun.com>
* strftime.c (my_strftime): When mbrlen returns (size_t) -2,
copy the redundant bytes at the end of the format as-is; don't
just copy their first byte and then rescan, as that might get
us an encoding error.
Account correctly for the length of multibyte sequences in the
format.
1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp-test.c: Add tests for different IFS values.
Change unquoted-newline test so that newline is not in IFS.
* posix/wordexp.c (wordexp): Correct null/unset mix-up when
determining IFS characters. Return WRDE_BADCHAR for unquoted
special characters _except_ if they are separators.
1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
* include/tgmath.h: New file.
* libio/stdio.h: Correct reversed #ifs.
Patch by Zack Weinberg.
* manual/creature.texi: Better explain reason for feature select
macros.
Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* include/alloca.h: Add multiple-inclusion guard.
* include/db.h: Likewise.
* include/db_185.h: Likewise.
* include/fcntl.h: Likewise.
* include/grp.h: Likewise.
* include/libintl.h: Likewise.
* include/mntent.h: Likewise.
* include/pwd.h: Likewise.
* include/sched.h: Likewise.
* include/search.h: Likewise.
* include/setjmp.h: Likewise.
* include/shadow.h: Likewise.
* include/signal.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/string.h: Likewise.
* include/termios.h: Likewise.
* include/time.h: Likewise.
* include/ulimit.h: Likewise.
* include/utmp.h: Likewise.
* include/wchar.h: Likewise.
* include/sys/file.h: Likewise.
* include/sys/gmon.h: Likewise.
* include/sys/ioctl.h: Likewise.
* include/sys/mman.h: Likewise.
* include/sys/resource.h: Likewise.
* include/sys/select.h: Likewise.
* include/sys/socket.h: Likewise.
* include/sys/statfs.h: Likewise.
* include/sys/time.h: Likewise.
* include/sys/times.h: Likewise.
* include/sys/wait.h: Likewise.
* include/dlfcn.h: Declare dladdr only for __USE_GNU.
Define RTLD_DEFAULT.
|
|
1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
* version.h (VERSION): Bump to 2.0.96.
Rewrite runtime linker to be truly thread-safe. There is now no
global variable specifying the scope. We create all needed
scopes at the time the link maps are created.
* elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
* elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
l_symbolic_searchlist, l_scope, and l_local_scope elements in
struct link_map.
* elf/dl-close.c: Rewritten accordingly.
* elf/dl-deps.c: Likewise.
* elf/dl-error.c: Likewise.
* elf/dl-init.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-object.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/dl-support.c: Likewise.
* elf/dl-symbol.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/dlfcn.h: Likewise.
* elf/dlsym.c: Likewise.
* elf/dlvsym.c: Likewise.
* elf/ldsodefs.h: Likewise.
* elf/rtld.c: Likewise.
* iconv/gconv_dl.c: Likewise.
* nss/nsswitch.c: Likewise.
* sysdeps/i386/dl-machine.h: Likewise.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
|
|
|
|
* sysdeps/mach/hurd/i386/init-first.c (init1): Call
__getopt_clean_environment with __environ instead of envp.
* sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
|
|
setting results.
* string/argz-next.c (__argz_next): Likewise.
|
|
|