aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2004-11-10Update.Ulrich Drepper
2004-11-09 Jakub Jelinek <jakub@redhat.com> * posix/regcomp.c (calc_eclosure_iter): Don't access dfa->edests[node].elems[0] if dfa->edests[node].nelem == 0. * posix/rxspencer/tests: Add 5 new tests.
2004-11-10value correctly. Patch by Mitsuru Kanda <mk@karaba.org>.Ulrich Drepper
2004-11-10Update.Ulrich Drepper
2004-11-09 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ifaddrs.c: Determine sin6_scope_id field value correctly.
2004-11-09Update.Ulrich Drepper
2004-11-04 Jakub Jelinek <jakub@redhat.com> * libio/fileops.c (_IO_new_file_seekoff): If mode is 0 and fp->_offset == _IO_pos_BAD, just call _IO_SYSSEEK (fp, 0, dir) and if successful set fp->_offset. * libio/Makefile (tests): Add bug-ungetc3. * libio/bug-ungetc3.c: New test.
2004-11-08* sysdeps/gnu/_G_config.h (_G_HAVE_MREMAP): Define symbol.Roland McGrath
* sysdeps/mach/hurd/_G_config.h: New file. * libio/fileops.c (mmap_remap_check) [__linux__]: Replaced with [_G_HAVE_MREMAP].
2004-11-08Update.Ulrich Drepper
2004-11-08 Ulrich Drepper <drepper@redhat.com> * posix/regcomp.c (utf8_sb_map): Define. (free_dfa_content): Don't free dfa->sb_char if it's a pointer to utf8_sb_map. (init_dfa): Use utf8_sb_map instead of initializing memory when the encoding is UTF-8. * posix/regcomp.c (init_dfa): Get the codeset name outside glibc as well. Check if it is spelled UTF8 as well as UTF-8, and check case-insensitively. Set dfa->map_notascii manually when outside glibc. * posix/regex_internal.c (build_wcs_upper_buffer) [!_LIBC]: Enable optimizations based on map_notascii. * posix/regex_internal.h [HAVE_LANGINFO_H || HAVE_LANGINFO_CODESET || _LIBC]: Include langinfo.h. * posix/regex_internal.h (struct re_backref_cache_entry): Add "more" field. * posix/regexec.c (check_dst_limits): Hoist computation of the source and destination bkref_idx out of the loop. Pass it to check_dst_limits_calc_pos. (check_dst_limits_calc_pos_1): New function, containing the recursive loop of check_dst_limits_calc_pos; uses the "more" field of struct re_backref_cache to control the loop. (check_dst_limits_calc_pos): Store into "boundaries" the position relative to lim's start and end positions. Do not accept eclosures, accept bkref_idx instead. Call check_dst_limits_calc_pos_1 to do the work. (sift_states_bkref): Use the "more" field of struct re_backref_cache to control the loop. A big "if" was turned into a continue and the function was reindented. (get_subexp): Use the "more" field of struct re_backref_cache to control the loop. (match_ctx_add_entry): Initialize the bkref_ents' "more" field. (search_cur_bkref_entry): Return -1 if out of bounds. * posix/regexec.c (empty_set): Remove. (sift_states_backward): Remove cur_src variable. Move inner loop to build_sifted_states. (build_sifted_states): Extract from sift_states_backward. Do not use empty_set. (update_cur_sifted_state): Do not use empty_set. Special case dest_nodes->nelem == 0.
2004-11-08Update.Ulrich Drepper
2004-11-03 Paolo Bonzini <bonzini@gnu.org> * posix/regex_internal.h (struct re_backref_cache_entry): Remove flag field. (struct re_sift_context_t): Remove cur_bkref, cls_subexp_idx, check_subexp fields. Move limits last. * posix/regexec.c (match_ctx_clear_flag): Remove. (sift_ctx_init): Remove check_subexp parameter. Do not set removed fields. Callers adjusted. (expand_bkref_cache): Remove last_str parameter. Callers adjusted. (re_search_internal): Remove fast_translate variable. (update_cur_sifted_state): Pass candidates as the final parameter to sift_states_bkref. (sift_states_bkref): Change last unused parameter to be "candidates", do not fetch candidates into a local variable. Remove dead test for "node == sctx->bkref", and the cur_bkref_idx variable. Remove loops that set/reset the flag field of backref cache entries. (check_arrival_add_next_nodes): Use a signed int to hold the return value of re_node_set_insert. (group_nodes_into_DFAstates): Likewise. (match_ctx_add_entry): Do not set the flag field of the new entry.
2004-11-06* sysdeps/gnu/errlist.c: Regenerated.Roland McGrath
2004-11-06* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): DefineRoland McGrath
_dl_sysinfo_dso under [NEED_DL_SYSINFO_DSO] as well. * elf/rtld.c (dl_main): Set up GLRO(dl_sysinfo_dso) under [NEED_DL_SYSINFO_DSO] as well. * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Always include AT_SYSINFO and AT_SYSINFO_EHDR in name table. (_dl_sysdep_start) [NEED_DL_SYSINFO_DSO]: Match AT_SYSINFO_EHDR. * elf/dl-support.c (_dl_sysinfo_dso): Define also under [NEED_DL_SYSINFO_DSO]. (_dl_aux_init) [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO]: Match AT_SYSINFO_EHDR and set GL(dl_sysinfo_dso). 2004-11-05 Roland McGrath <roland@redhat.com>
2004-11-05* manual/errno.texi (Error Codes): Revert last change for now.Roland McGrath
2004-11-04* Makeconfig (link-libc, rpath-dirs): Remove AIX cruft definitions.Roland McGrath
(LDFLAGS-rpath-ORIGIN, LDFLAGS-soname-fname): Likewise. (LDFLAGS-rdynamic, LDFLAGS-Bsymbolic): Likewise. ($(common-objpfx)gnu/lib-names.stmp): Likewise.
2004-11-04* sysdeps/unix/sysv/linux/x86_64/sys/procfs.h [__WORDSIZE == 32]Roland McGrath
(elf_fpxregset_t): New type. (struct elf_prpsinfo): If __WORDSIZE == 32, change pr_[ug]id type to unsigned short int. * sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct user_fpregs_struct): Fix comment. * sysdeps/i386/fpu/bits/mathdef.h (float_t, double_t): If __FLOAT_EVAL_METHOD__ is defined and 0, typedef to float resp. double. * sysdeps/x86_64/fpu/bits/mathdef.h: Include bits/wordsize.h. (float_t, double_t): If -m32 and not -mfpmath=sse, typedef to long double. * sysdeps/x86_64/fpu/bits/fenv.h: Include bits/wordsize.h. (fenv_t): Remove __mxcsr field for -m32.
2004-11-04* libio/ftello.c (ftello): Don't subtract save_end - save_baseRoland McGrath
if pos is _IO_pos_BAD. * libio/ftello64.c (ftello64): Likewise. * libio/iofgetpos.c (_IO_new_fgetpos): Likewise. * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise. * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise. * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise. * libio/ioftell.c (_IO_ftell): Likewise. Cast to long int instead of off_t when checking for overflow.
2004-11-04 * sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align. ↵Richard Henderson
(linefeed): Remove. (register_dump): Rewrite to generate into a flat buffer instead of into iovecs. 2004-11-04 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align. (linefeed): Remove. (register_dump): Rewrite to generate into a flat buffer instead of into iovecs.
2004-11-03* debug/tst-chk1.c (ret): New volatile variable.Roland McGrath
(CHK_FAIL_END): Remove redundant ret setting. (do_test): Remote ret variable.
2004-11-03* posix/regex_internal.h (__regfree) [!_LIBC]: Define to regfree.Roland McGrath
2004-11-03* sysdeps/generic/utime.c: Include <stddef.h>.Roland McGrath
2004-11-03* sysdeps/generic/sysconf.c: Include <grp.h> and <pwd.h>.Roland McGrath
2004-11-03* sysdeps/generic/tempname.c (__path_search): Add missing argumentRoland McGrath
TRY_TMPDIR.
2004-11-01 * sysdeps/unix/sysv/linux/alpha/setregid.c: New file. * ↵cvs/fedora-glibc-20041102T1153Richard Henderson
sysdeps/unix/sysv/linux/alpha/setresgid.c: New file. * sysdeps/unix/sysv/linux/alpha/setresuid.c: New file. * sysdeps/unix/sysv/linux/alpha/setreuid.c: New file. 2004-10-31 Mariusz Mazur <mmazur@kernel.pl> * sysdeps/unix/sysv/linux/alpha/setregid.c: New file. * sysdeps/unix/sysv/linux/alpha/setresgid.c: New file. * sysdeps/unix/sysv/linux/alpha/setresuid.c: New file. * sysdeps/unix/sysv/linux/alpha/setreuid.c: New file.
2004-11-01[BZ #473, BZ #487]Roland McGrath
2004-10-27 Derek R. Price <derek@ximbiot.com> [BZ #487] This change is imported from gnulib. * time/mktime.c (not_equal_tm) [DEBUG]: Remove redundant check. 2004-10-24 Paul Eggert <eggert@cs.ucla.edu> [BZ #473] * time/tst-mktime.c (main): Don't assume that mktime fails when given time stamps before 1970. It returns negative time_t values instead, for compatibility with BSD. * time/tst-mktime2.c: New file. * time/Makefile (tests): Add it. [BZ #473] Import from gnulib. Revamp to avoid several problems near time_t extrema, and on hosts with 64-bit time_t and 32-bit int. This fixes Debian bug 177940. * time/mktime.c (TIME_T_MIDPOINT): New macro. (ydhms_diff): Renamed from ydhms_tm_diff, with a new signature, which avoids overflow problems on hosts with 64-bit time_t and 32-bit int. All callers changed. Now an inline function. Verify at compile-time that long int is wide enough to avoid these overflow problems. (guess_time_tm): New function. (__mktime_internal): Use it. Avoid overflow when computing yday on hosts with 64-bit long and 32-bit int. Remove tests for 69; no longer needed. Use if rather than #ifdef for LEAP_SECONDS_POSSIBLE so that the code is checked by more compilers. Do not rely on floating point to probe: stick to integer arithmetic, to avoid potential porting problems. Repair potential overflow correctly in the Southern Hemisphere. (localtime_offset): Add a FIXME for the case where time_t is unsigned.
2004-10-30*** empty log message ***Andreas Schwab
* sysdeps/m68k/dl-machine.h (elf_machine_rela) (elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto instead of static. 2004-10-30 Andreas Schwab <schwab@suse.de>
2004-10-30Update.Ulrich Drepper
2004-10-30 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/waitid.c: Include <stddef.h> for NULL. 2004-10-30 Ulrich Drepper <drepper@redhat.com> * malloc/malloc.c (_int_free): Use unique comments for the error cases.
2004-10-29* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_fork): Use i386_thread_stateRoland McGrath
instead of machine_thread_state.
2004-10-28* sysdeps/unix/sysv/linux/syscalls.list: Remove setaltroot.Roland McGrath
2004-10-28Update.Ulrich Drepper
2004-10-28 Ulrich Drepper <drepper@redhat.com> * elf/dl-open.c (dl_open_worker): Remove reference to glibcbug script.
2004-10-28Update.Ulrich Drepper
2004-10-27 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c (_dl_map_object): Use cache_rpath to check for existing rpath in main executable, not explicit test.
2004-10-27Update.Ulrich Drepper
2004-10-27 Jakub Jelinek <jakub@redhat.com> * include/resolv.h (_res_opcodes): New extern. Add libresolv_hidden_proto. * resolv/res_debug.c (_res_opcodes): Remove. (__p_class_syms, __p_type_syms): Add libresolv_hidden_proto and libresolv_hidden_data_def. Remove attribute_hidden. * resolv/res_mkquery (_res_opcodes): Remove. * resolv/res_data.c (_res_opcodes): Remove attribute_hidden. Add libresolv_hidden_data_def. * elf/dl-open.c (_dl_open): Don't allow explicitly opening a DSO into an empty namespace.
2004-10-27Update.Ulrich Drepper
2004-10-27 Ulrich Drepper <drepper@redhat.com> * elf/dl-fini.c (_dl_fini): Fix search for map in maps array. Reverse order of namespaces. * elf/Makefile: Add rules to build and run tst-dlmopen3. * elf/tst-dlmopen3.c: New file. * elf/tst-dlmopen1mod.c: Add check whether constructor runs.
2004-10-27Update.Ulrich Drepper
2004-10-27 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/glob.c (globfree): Clear gl_pathv after freeing it. * posix/Makefile: Add rules to build and run bug-glob2 test. * posix/bug-glob2.c: New test.
2004-10-27* sysdeps/mach/hurd/i386/tls.h (HURD_TLS_DESC_DECL): New macro.Roland McGrath
(_hurd_tls_init): Use it. (_hurd_tls_fork): New function. * sysdeps/mach/hurd/fork.c (__fork) [USE_TLS]: Call it.
2004-10-27* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Initialize TCB->tcb.Roland McGrath
2004-10-26* sysdeps/gnu/netinet/udp.h (struct udphdr): Use u_int16_tRoland McGrath
type instead of uint16_t. Formatting.
2004-10-26* login/openpty.c (openpty): Add libutil_hidden_def.Roland McGrath
2004-10-26either libc_hidden_def or libnss_files_hidden_def, not hidden_def.Roland McGrath
This file is also compiled into libnss_hesiod by #include.
2004-10-26* sysdeps/unix/bsd/hp: Directory and all files removed.Roland McGrath
These are now in the ports repository. * sysdeps/unix/bsd/osf: Likewise. * sysdeps/unix/bsd/sequent: Likewise. * sysdeps/unix/bsd/sony: Likewise. * sysdeps/unix/bsd/ultrix4: Likewise. * sysdeps/unix/sysv/aix: Likewise. * sysdeps/unix/sysv/hpux: Likewise. * sysdeps/unix/sysv/irix4: Likewise. * sysdeps/unix/sysv/isc2.2: Likewise. * sysdeps/unix/sysv/minix: Likewise. * sysdeps/unix/sysv/sco3.2.4: Likewise. * sysdeps/unix/sysv/sco3.2: Likewise. * sysdeps/unix/sysv/sysv4: Likewise.
2004-10-26* nss/nss_files/files-parse.c (nss_files_parse_hidden_def): Define toRoland McGrath
libnss_files_hidden_def, not hidden_def. This file is also compiled into libnss_hesiod by #include.
2004-10-26* configure.in (ASM_LINE_SEP): Move this setting to ...Roland McGrath
* sysdeps/hppa/configure.in: ... here, new file. * sysdeps/hppa/configure: New generated file. * configure: Regenerated.
2004-10-25Update.Ulrich Drepper
2004-10-25 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/dl-machine.h: Include sysdep.h. (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add CFI directives. (elf_machine_runtime_setup): Add always_inline attribute. (_dl_start_user): Pass the correct environ. (elf_machine_rela): Replace static inline by auto inline, add always_inline attribute. (elf_machine_rela_relative): Likewise. (elf_machine_lazy_rel): Likewise.
2004-10-25Update.Ulrich Drepper
* nis/nis_call.c: Pretty printing. Minor cleanups.
2004-10-25Update.Ulrich Drepper
* nis/nis_addmember.c (nis_addmember): Add assert to check buffer bounds.
2004-10-24Update.Ulrich Drepper
* resolv/nss_dns/dns-host.c: Avoid using PLTs.
2004-10-24Update.Ulrich Drepper
* include/libc-symbols.h: Define hidden attribute macros for libnss_nisplus and libutil. * include/utmp.h: Add libutil_hidden_proto for login_tty. * login/login_tty.c: Add libutil_hidden_def. * nis/nisplus-parser.h: Add libnss_nisplus_hidden_proto for parsers. * nis/nss_nisplus/nisplus-parser.c: Add libnss_nisplus_hidden_def. * include/pty.h: New file. * include/rpcsvc/yp.h: New file. * include/rpcsvc/ypclnt.h: New file. * include/rpcsvc/ypupd.h: New file.
2004-10-24Update.Ulrich Drepper
* include/libc-symbols.h: Define hidden attribute macros for libnsl. * include/rpcsvc/nislib.h: Use libnsl_hidden_proto for various functions. * nis/nis_add.c: Add libnsl_hidden_def. Minor optimizations. * nis/nis_call.c: Likewise. * nis/nis_clone_obj.c: Likewise. * nis/nis_defaults.c: Likewise. * nis/nis_domain_of_r.c: Likewise. * nis/nis_error.c: Likewise. * nis/nis_file.c: Likewise. * nis/nis_free.c: Likewise. * nis/nis_local_names.c: Likewise. * nis/nis_lookup.c: Likewise. * nis/nis_modify.c: Likewise. * nis/nis_print.c: Likewise. * nis/nis_remove.c: Likewise. * nis/nis_subr.c: Likewise. * nis/nis_table.c: Likewise. * nis/nis_util.c: Likewise. * nis/yp_xdr.c: Likewise. * nis/ypclnt.c: Likewise. * nis/ypupdate_xdr.c: Likewise.
2004-10-24Update.Ulrich Drepper
* resolv/res_send.c (send_dg): Cope with failures.
2004-10-24Update.Ulrich Drepper
2004-10-24 Ulrich Drepper <drepper@redhat.com> * include/libc-symbols.h: Define hidden attribute macros for libnss_files. * include/netdb.h: Use libnss_files_hidden_proto for the parsers defined in libnss_files, not libc_hidden_proto. * include/netinet/ether.h: Likewise. * include/rpc/netdb.h: Likewise. * nss/nss_files/files-parse.c: Use hidden_def in parser definitions instead of libc_hidden_def. * nss/nss_files/files-netgrp.c: Add libnss_files_hidden_def to _nss_netgroup_parseline definition.
2004-10-24* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Don't return earlyRoland McGrath
after an RPC succeeds.
2004-10-23Moved ancient files to ports repositoryRoland McGrath
* sysdeps/cris, sysdeps/unix/sysv/linux/cris: Likewise. * sysdeps/am29k, sysdeps/i860, sysdeps/i960, sysdeps/m88k: Likewise. * sysdeps/standalone, sysdeps/z8000: Likewise.
2004-10-23Moved tahoe files to ports repositoryRoland McGrath
* sysdeps/tahoe, sysdeps/unix/bsd/tahoe: Likewise.
2004-10-23Moved vax files to ports repositoryRoland McGrath
2004-10-23 Roland McGrath <roland@frob.com> * sysdeps/vax, sysdeps/unix/bsd/vax: Directories and all files removed. These are now in the ports repository.