| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
2003-11-13 Ulrich Drepper <drepper@redhat.com>
* posix/regcomp.c (parse_expression): In BRE consecutive
duplications are not allowed.
|
|
|
|
|
| |
* posix/regcomp.c (parse_bracket_exp): If end of expression is
seen, return EBRACK error, not BADPAT.
|
|
|
|
|
|
|
|
|
|
| |
* posix/regcomp.c (parse_expression): If token is OP_OPEN_DUP_NUM
and RE_CONTEXT_INVALID_DUP syntax flag is set, fail.
* posix/regex.h (RE_CONTEXT_INVALUD_OPS): New macro.
(RE_SYNTAX_POSIX_BASIC): Use RE_CONTEXT_INVALUD_OPS.
* posix/regcomp.c (parse_sub_exp): In case of not-matching ( )
return REG_EPAREN.
|
|
|
|
|
|
|
|
| |
2003-11-12 Ulrich Drepper <drepper@redhat.com>
* posix/PTESTS: Cleanup. Fix typoes. Correct bugs in 2003.2.
* posix/runptests.c (main): Handle comments.
* posix/PTESTS2C.sed: Handle comments.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* posix/regcomp.c (optimize_utf8): New function.
(re_compile_fastmap_iter): Use dfa->mb_cur_max > 1 instead
of !icase.
(re_compile_internal): Call optimize_utf8 if not case insensitive
and in UTF-8 locale.
* posix/regex_internal.h: Ifdef out some prototypes if
RE_NO_INTERNAL_PROTOTYPES is defined to shut up warnings.
* posix/Makefile (tests): Add bug-regex20.
(bug-regex20-ENV): Add LOCPATH.
* posix/bug-regex20.c: New test.
2003-11-12 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-12 Jakub Jelinek <jakub@redhat.com>
* io/ftw.c (NFTW_NEW_NAME, NFTW_OLD_NAME): Add prototypes.
2003-11-12 Jakub Jelinek <jakub@redhat.com>
* posix/tst-regex.c (umemlen): New variable.
(test_expr): Add expectedicase argument. Test case insensitive
searches as well as backwards searches (case sensitive and
insensitive) too.
(run_test): Add icase argument. Use it to compute regcomp flags.
(run_test_backwards): New function.
(main): Cast read to size_t to avoid warning. Set umemlen.
Add expectedicase arguments to test_expr.
* posix/regex_internal.c (re_string_reconstruct): If is_utf8,
find previous character by walking back instead of converting
all chars from beginning.
2003-11-12 Jakub Jelinek <jakub@redhat.com>
* posix/regex_internal.h (struct re_string_t): Add is_utf8
and mb_cur_max fields.
(struct re_dfa_t): Likewise. Reorder fields to make structure
smaller on 64-bit arches.
(re_string_allocate, re_string_construct): Add mb_cur_max and
is_utf8 arguments.
(re_string_char_size_at, re_string_wchar_at): Use pstr->mb_cur_max
instead of MB_CUR_MAX.
* posix/regcomp.c (re_compile_fastmap_iter): Use dfa->mb_cur_max
instead of MB_CUR_MAX.
(re_compile_internal): Pass new arguments to re_string_construct.
(init_dfa): Initialize mb_cur_max and is_utf8 fields.
(peek_token, peek_token_bracket): Use input->mb_cur_max instead
of MB_CUR_MAX.
(parse_expression, parse_bracket_exp, parse_charclass_op): Use
dfa->mb_cur_max instead of MB_CUR_MAX.
* posix/regex_internal.c (re_string_construct_common): Add
mb_cur_max and is_utf8 arguments. Initialize fields with them.
(re_string_allocate, re_string_construct): Add mb_cur_max and
is_utf8 arguments, pass them to re_string_construct_common.
Use mb_cur_max instead of MB_CUR_MAX.
(re_string_realloc_buffers): Use pstr->mb_cur_max instead of
MB_CUR_MAX.
(re_string_reconstruct): Likewise.
(re_string_context_at): Use input->mb_cur_max instead of
MB_CUR_MAX.
(create_ci_newstate, create_cd_newstate): Use dfa->mb_cur_max
instead of MB_CUR_MAX.
* posix/regexec.c (re_search_internal): Likewise.
Pass new arguments to re_string_allocate.
(check_matching, transit_state_sb): Use dfa->mb_cur_max instead of
MB_CUR_MAX.
(extend_buffers): Use pstr->mb_cur_max instead of MB_CUR_MAX.
2003-11-12 Jakub Jelinek <jakub@redhat.com>
* posix/Makefile (tests): Add bug-regex19.
(bug-regex19-ENV): Add LOCPATH.
* posix/bug-regex19.c: New test.
|
|
|
|
|
| |
* posix/bug-regex17.c: New file
* posix/bug-regex18.c: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-11 Jakub Jelinek <jakub@redhat.com>
* posix/regcomp.c (re_compile_fastmap_iter): Handle RE_ICASE
with MB_CUR_MAX > 1 locales in the fastmap.
2003-11-11 Jakub Jelinek <jakub@redhat.com>
* posix/regex_internal.c (build_wcs_buffer): Fix comment typo.
(build_wcs_upper_buffer): Likewise. Use towupper for wchar_t instead
of toupper.
* posix/Makefile (tests): Add bug-regex17 and bug-regex18.
(bug-regex17-ENV, bug-regex18-ENV): Add LOCPATH.
* posix/bug-regex18.c: New test.
|
| |
|
|
|
|
| |
Define __NR_pread/__NR_pwrite if not done in kernel headers
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(libc.dvi libc.pdf libc.info): Depend on dir-add.texi.
(dir-add.info): Target removed, replaced with ...
(dir-add.texi): New target.
(distribute): Add it.
(install): Remove variant with --section arguments.
Let the @dircategory directives do their work.
(mostlyclean): Don't remove dir-add.info here.
(realclean): Remove dir-add.texi here.
* manual/libc.texinfo: @include dir-add.texi
* configure.in: Remove check for old Debian install-info.
* configure: Regenerated.
* config.make.in (OLD_DEBIAN_INSTALL_INFO): Variable removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* manual/Makefile (info): Don't depend on dir-add.info.
(libc.dvi libc.pdf libc.info): Depend on dir-add.texi.
(dir-add.info): Target removed, replaced with ...
(dir-add.texi): New target.
(distribute): Add it.
(install): Remove variant with --section arguments.
Let the @dircategory directives do their work.
(mostlyclean): Don't remove dir-add.info here.
(realclean): Remove dir-add.texi here.
* manual/libc.texinfo: @include dir-add.texi
* configure.in: Remove check for old Debian install-info.
* configure: Regenerated.
* config.make.in (OLD_DEBIAN_INSTALL_INFO): Variable removed.
|
|
|
|
|
|
| |
2003-11-08 Andreas Schwab <schwab@suse.de>
* scripts/data/c++-types-ia64-linux-gnu.data: New file.
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-10 Carlos O'Donell <carlos@baldric.uwo.ca>
* io/ftwtest-sh: Fix nested sed commands.
2003-11-10 Jakub Jelinek <jakub@redhat.com>
* posix/regex_internal.h (re_string_char_size_at): Don't look beyond
valid_len wide chars.
|
| |
|
|
|
|
| |
Reported by J de Haan <j.de.haan@home.nl>.
|
|
|
|
|
| |
* manual/examples/dir2.c (one): Add const to argument type.
Reported by J de Haan <j.de.haan@home.nl>.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-08 Ulrich Drepper <drepper@redhat.com>
* locales/ne_NP: New file.
* locales/gu_IN: New file.
* locales/kn_IN: New file.
* locales/pa_IN: New file.
Patch by Gnutupalli Karunakar <karunakar@freedomink.org>.
* SUPPORTED (SUPPORTED-LOCALES): Add ne_NP, gu_IN, kn_IN, and pa_IN.
|
|
|
|
|
|
| |
2003-11-07 Ulrich Drepper <drepper@redhat.com>
* po/pl.po: Update from translation team.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-07 Jakub Jelinek <jakub@redhat.com>
* io/ftw.c (NFTW_OLD_NAME, NFTW_NEW_NAME): Define.
(ftw_dir, ftw_startup): Add __attribute ((noinline)).
(NFTW_OLD_NAME, NFTW_NEW_NAME): New functions.
(NFTW_NAME): Only define if !_LIBC, add versioned_symbol
and compat_symbol.
* io/ftw64.c (NFTW_OLD_NAME, NFTW_NEW_NAME): Define.
* io/Versions (libc): Export nftw@@GLIBC_2.3.3
and nftw64@@GLIBC_2.3.3.
* io/ftw.h (FTW_ACTIONRETVAL): New flag.
(FTW_CONTINUE, FTW_STOP, FTW_SKIP_SUBTREE, FTW_SKIP_SIBLINGS): New.
* io/ftw.c (ftw_dir): Add old_dir argument.
Clear result if it was FTW_SKIP_SIBLINGS after processing all
dir entries. Change cwd back if old_dir != NULL.
(process_entry): Adjust caller. Don't change cwd back here.
Change FTW_SKIP_SUBTREE result to 0.
(ftw_startup): Adjust ftw_dir caller.
Clear result if it was FTW_SKIP_SUBTREE or FTW_SKIP_SIBLINGS.
* io/ftwtest.c (skip_subtree, skip_siblings): New variables.
(options, main): Add --skip-subtree and --skip-siblings options.
(cb): Use return FTW_CONTINUE instead of return 0.
Handle --skip-subtree and --skip-siblings.
* io/ftwtest-sh: Add tests for FTW_ACTIONRETVAL.
* manual/filesys.texi: Document FTW_ACTIONRETVAL.
|
|
|
|
|
|
| |
2003-11-06 Ulrich Drepper <drepper@redhat.com>
* Makefile: Add magic to clean up correctly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-05 Jakub Jelinek <jakub@redhat.com>
* unwind.c (FRAME_LEFT): Define.
(unwind_stop): Handle old style cleanups here.
(__pthread_unwind): Handle old style cleanups only if
!HAVE_FORCED_UNWIND.
* Makefile (tests): Add tst-cleanup4 and tst-cleanupx4.
(CFLAGS-tst-cleanupx4.c): Add -fexceptions.
($(objpfx)tst-cleanup4): Depend on $(objpfx)tst-cleanup4aux.o.
($(objpfx)tst-cleanupx4): Likewise.
* tst-cleanup4.c: New test.
* tst-cleanup4aux.c: New.
* tst-cleanupx4.c: New test.
|
|
|
|
|
|
|
| |
2003-11-04 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/bits/stdio-lock.h: Use lll_*lock instead of
lll_mutex_*lock macros to skip atomic operations on some archs.
|
|
|
|
|
|
|
|
|
| |
2003-11-04 Jakub Jelinek <jakub@redhat.com>
* io/ftw.c (ftw_dir): Close dir if callback with FTW_D type returns
non-zero.
* io/Makefile (tests): Add bug-ftw4.
* io/bug-ftw4.c: New test.
|
|
|
|
|
|
|
| |
2003-11-04 Ulrich Drepper <drepper@redhat.com>
* tst-numeric.data: Fix fallout from nb_NO introduction.
* Makefile (LOCALES): Likewise.
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-27 Daniel Jacobowitz <drow@mvista.com>
* libio/libioP.h [_IO_USE_OLD_IO_FILE]
(struct _IO_FILE_complete_plus): New type.
* libio/oldiofopen.c (_IO_old_fopen): Use _IO_FILE_complete_plus.
* libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
* libio/oldiopopen.c (struct _IO_proc_file, _IO_old_popen): Likewise.
Call _IO_old_init instead of _IO_init.
|
|
|
|
| |
* intl/locale.alias: nb_NO is now the correct name, not no_NO.
|
|
|
|
|
|
| |
* SUPPORTED (SUPPORTED-LOCALES): Add more support locales.
2003-11-03 Ulrich Drepper <drepper@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* locales/aa_DJ: New file.
* locales/aa_ER: New file.
* locales/aa_ER@saaho: New file.
* locales/aa_ET: New file.
* locales/byn_ER: New file.
* locales/gez_ER: New file.
* locales/gez_ER@abegede: New file.
* locales/gez_ET: New file.
* locales/gez_ET@abegede: New file.
* locales/om_ET: New file.
* locales/om_KE: New file.
* locales/sid_ET: New file.
* locales/so_DJ: New file.
* locales/so_ET: New file.
* locales/so_KE: New file.
* locales/so_SO: New file.
* locales/tig_ER: New file.
|
|
|
|
|
|
|
| |
2003-11-03 Ulrich Drepper <drepper@redhat.com>
* locale/iso-639.def: Add Blin.
Patch by Daniel Yacob <locales@geez.org>.
|
|
|
|
|
|
|
| |
2003-11-03 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/tst-timer.c (main): Initialize
sigev2.sigev_value as well.
|
|
|
|
|
|
|
| |
2003-10-31 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/powerpc32/strncmp.S: New File.
* sysdeps/powerpc/powerpc64/strncmp.S: New File.
|
|
|
|
|
|
|
|
| |
2003-11-01 Randolph Chung <tausq@debian.org>
* sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
Add missing parentheses.
|
|
|
|
| |
(LOAD_ARGS_5, LOAD_ARGS_6): Add missing parentheses.
|
| |
|
|
|
|
| |
anything while generating the linker script.
|
|
|
|
| |
special members.
|
|
|
|
|
| |
* locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's
special members.
|
|
|
|
|
|
| |
2003-10-29 Ulrich Drepper <drepper@redhat.com>
* po/be.po: Update from translation team.
|
|
|
|
|
| |
* elf/rtld.c (map_doit): Pass __RTLD_OPENEXEC in last parameter to
_dl_map_object.
|
|
|
|
|
| |
* elf/sprof.c (load_shobj): Use l_map_start not l_addr to locate
ELF header.
|
|
|
|
|
|
|
| |
2003-10-27 Ulrich Drepper <drepper@redhat.com>
* inet/rcmd.c (__validuser2_sa): Remove unnecessary code to skip
rest of line. We use getline which means this cannot happen.
|
|
|
|
|
|
|
| |
* sysdeps/unix/sysv/linux/internal_statvfs.c (__internal_statvfs):
Avoid infinite loops in case the mounts file is hosed.
* io/Makefile: Add rules to build and run tst-statvfs.
* io/tst-statvfs.c: New file.
|
|
|
|
|
|
|
|
|
|
|
| |
* include/dlfcn.h (__RTLD_OPENEXEC): Define.
* elf/dl-load.c (_dl_map_object_from_fd): Don't allow loading
executables unless __RTLD_OPENEXEC flag is present.
* elf/rtld.c (dl_main): Pass __RTLD_OPENEXEC flag to
_dl_map_object when loading the executable.
reverse lookup format for IPv6 addresses is using bitstring and
* resolv/ns_name.c: Implement encoding and decoding bitstring in
|
|
|
|
|
|
| |
* sysdeps/generic/glob.c (glob): Handle GLOB_BRACE and escaping
correctly.
* posix/globtest.sh: Add tests for GLOB_BRACE and escaping.
|
|
|
|
|
|
|
|
|
|
| |
2003-10-26 Ulrich Drepper <drepper@redhat.com>
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Default
reverse lookup format for IPv6 addresses is using bitfields and
.ip6.arpa suffix.
* resolv/ns_name.c: Implement encoding and decoding bitfields in
hex format.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-23 Jakub Jelinek <jakub@redhat.com>
* locale/programs/locale.c (show_info): Fix printing word values on
64-bit big-endian architectures.
2003-10-19 Bruno Haible <bruno@clisp.org>
* intl/hash-string.c (hash_string): Zero-extend each char from the
string; the old code did a sign-extend on some platforms.
|
|
|
|
| |
sign-extend on some platforms.
|
|
|
|
|
| |
append options to these.
* sysdeps/powerpc/powerpc64/Makefile (+cflags, asm-CPPFLAGS): Likewise.
|