Paul Eggert [Sun, 28 May 2006 09:17:17 +0000 (09:17 +0000)]
* c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
compile test, for Tru64 4.0D.
Simon Josefsson [Fri, 26 May 2006 10:13:59 +0000 (10:13 +0000)]
2006-05-26 Martin Lambers <marlam@marlam.de>
* getpass.c: Updates the test for the native W32 API, and adds
missing includes, thus fixing compilation warnings.
Paul Eggert [Thu, 25 May 2006 21:55:35 +0000 (21:55 +0000)]
* tempname.c (small_open, large_open): New macros.
(__open, __open64) [!_LIBC]: Remove.
(__gen_tempname): Use small_open and large_open instead of __open
and __open64. This fixes a portability bug on HP-UX 11.11i
reported by Simon Wing-Tang in
<http://lists.gnu.org/archive/html/bug-coreutils/2006-05/msg00114.html>.
Sergey Poznyakoff [Thu, 25 May 2006 07:03:17 +0000 (07:03 +0000)]
Update
Sergey Poznyakoff [Thu, 25 May 2006 07:02:20 +0000 (07:02 +0000)]
(excluded_file_name): New prototype
Sergey Poznyakoff [Thu, 25 May 2006 07:02:07 +0000 (07:02 +0000)]
(exclude_fnmatch): New function.
(excluded_file_name): Call exclude_fnmatch.
Karl Berry [Wed, 24 May 2006 21:47:25 +0000 (21:47 +0000)]
autoupdate
Karl Berry [Wed, 24 May 2006 21:46:52 +0000 (21:46 +0000)]
autoupdate
Bruno Haible [Wed, 24 May 2006 11:48:51 +0000 (11:48 +0000)]
Be resilient about NULL pointer arguments.
Karl Berry [Tue, 23 May 2006 14:05:46 +0000 (14:05 +0000)]
use @heading commands
Bruno Haible [Mon, 22 May 2006 18:52:10 +0000 (18:52 +0000)]
Resolve most comments from Ben Pfaff.
Bruno Haible [Mon, 22 May 2006 18:35:03 +0000 (18:35 +0000)]
Handle some remarks by Ralf Wildenhues.
Bruno Haible [Mon, 22 May 2006 17:27:28 +0000 (17:27 +0000)]
Function Portability doc, for autoconf.
First draft.
Paul Eggert [Fri, 19 May 2006 17:49:21 +0000 (17:49 +0000)]
* lib/nanosleep.c [HAVE_SYS_SELECT_H]: Include <sys/select.h>.
Use the usual Autoconf way to include <time.h> and/or sys/time.h.
(my_usleep): Don't mishandle maximum value.
* m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
gl_ rather than jm_. Link, don't run, so that cross-compiles are
allowed. Check that resulting type is arithmetic. Move AC_REQUIRE
and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
not really conditional on the cache.
(gl_PREREQ_NANOSLEEP): Check for sys/select.h.
Jim Meyering [Fri, 19 May 2006 13:00:34 +0000 (13:00 +0000)]
*** empty log message ***
Jim Meyering [Fri, 19 May 2006 13:00:12 +0000 (13:00 +0000)]
Correct an outdated comment. From Bruno Haible.
Bruno Haible [Wed, 17 May 2006 13:16:53 +0000 (13:16 +0000)]
Cygwin portability.
Karl Berry [Wed, 17 May 2006 11:31:24 +0000 (11:31 +0000)]
autoupdate
Bruno Haible [Wed, 17 May 2006 10:46:10 +0000 (10:46 +0000)]
Cygwin recognition fix.
Bruno Haible [Mon, 15 May 2006 12:38:41 +0000 (12:38 +0000)]
Improve support for Sun C 5.9 on Linux.
Paul Eggert [Mon, 15 May 2006 02:37:03 +0000 (02:37 +0000)]
* stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
test for C99 conformance; (bool) 0.5 is an integer constant
expression, but (bool) -0.5 is not.
Jim Meyering [Thu, 11 May 2006 19:50:07 +0000 (19:50 +0000)]
sha1.c (sha1_buffer): Correct comment: s/MD5/SHA1/. From James Lemley.
Karl Berry [Thu, 11 May 2006 13:49:13 +0000 (13:49 +0000)]
autoupdate
Bruno Haible [Thu, 11 May 2006 12:21:14 +0000 (12:21 +0000)]
Fix typo in macro name.
Simon Josefsson [Thu, 11 May 2006 07:33:27 +0000 (07:33 +0000)]
2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
* md4.c (rol): Cast right-shift arg to uint32_t to prevent
unwanted sign propagation, e.g., on hosts with 64-bit int.
There still are some problems with reeelly weird theoretical hosts
(e.g., 33-bit int) but it's not worth worrying about now.
* sha1.c (rol): Likewise.
(K1, K2, K3, K4): Remove unnecessary L suffix.
Simon Josefsson [Thu, 11 May 2006 06:36:07 +0000 (06:36 +0000)]
2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
* crc.c (crc32_update): Remove unnecessary L suffix.
Simon Josefsson [Wed, 10 May 2006 14:06:26 +0000 (14:06 +0000)]
2006-05-10 Bruno Haible <bruno@clisp.org>
* des.c: Cast to avoid warnings.
Simon Josefsson [Wed, 10 May 2006 13:37:20 +0000 (13:37 +0000)]
* md4.c: Typo fix, update copyright years.
(K1, K2): Don't use L because it turn computations into 64-bit on
64-bit platforms.
Karl Berry [Wed, 10 May 2006 07:39:26 +0000 (07:39 +0000)]
.
Bruno Haible [Tue, 9 May 2006 17:26:15 +0000 (17:26 +0000)]
Recognize the special case of a string concatenation in xvasprintf.
Karl Berry [Tue, 9 May 2006 07:39:32 +0000 (07:39 +0000)]
.
Eric Blake [Tue, 9 May 2006 02:38:16 +0000 (02:38 +0000)]
* gnulib-tool (func_version): Base copyright year on CVS date.
(func_emit_copyright_notice): New function.
(func_emit_lib_Makefile_am): Use it.
(func_emit_tests_Makefile_am): Likewise.
(func_import): Likewise.
Bruno Haible [Mon, 8 May 2006 19:55:10 +0000 (19:55 +0000)]
Newest config.rpath from gettext CVS.
Karl Berry [Mon, 8 May 2006 13:22:22 +0000 (13:22 +0000)]
autoupdate
Bruno Haible [Mon, 8 May 2006 13:13:13 +0000 (13:13 +0000)]
New module 'stdarg'.
Karl Berry [Sun, 7 May 2006 22:05:39 +0000 (22:05 +0000)]
update from texinfo
Karl Berry [Fri, 5 May 2006 17:20:50 +0000 (17:20 +0000)]
update from texinfo
Karl Berry [Fri, 5 May 2006 07:39:22 +0000 (07:39 +0000)]
.
Jim Meyering [Fri, 5 May 2006 07:34:56 +0000 (07:34 +0000)]
*** empty log message ***
Jim Meyering [Fri, 5 May 2006 07:34:51 +0000 (07:34 +0000)]
New file, derived from bison's file by the same name.
Bruno Haible [Wed, 3 May 2006 12:39:46 +0000 (12:39 +0000)]
Shorter URL.
Paul Eggert [Tue, 2 May 2006 23:48:20 +0000 (23:48 +0000)]
* modules/inttypes (Maintainer): Change from Derek Price to 'all'.
* m4/full-header-path.m4 (gl_FULL_HEADER_PATH): Move the include_next
test from here...
* m4/_inttypes_h.m4 (gl_INTTYPES_H): ... to here.
Paul Eggert [Tue, 2 May 2006 23:39:59 +0000 (23:39 +0000)]
* doc/verify.texi: New file.
* lib/verify.h: Document the internals better.
Bruno Haible [Tue, 2 May 2006 14:31:00 +0000 (14:31 +0000)]
Make --update option actually work.
Karl Berry [Sun, 30 Apr 2006 13:38:54 +0000 (13:38 +0000)]
gcd in menu
Bruno Haible [Sat, 29 Apr 2006 16:16:07 +0000 (16:16 +0000)]
Make generic.
Bruno Haible [Sat, 29 Apr 2006 16:15:46 +0000 (16:15 +0000)]
Document the gcd module.
Derek R. Price [Wed, 26 Apr 2006 15:55:46 +0000 (15:55 +0000)]
* lib/wait-process.c, lib/wait-process.h, lib/csharpcomp.c,
lib/execute.c, lib/javacomp.c: Back out previous change.
Karl Berry [Wed, 26 Apr 2006 13:23:19 +0000 (13:23 +0000)]
autoupdate
Derek R. Price [Tue, 25 Apr 2006 20:58:26 +0000 (20:58 +0000)]
* lib/wait-process.h (wait_subprocess): Accept a new exitsignal argument.
* lib/wait-process.c (wait_subprocess): Always set *exitsignal to 0 when
present and set it to the offending signal when the child exits due to
a signal.
* lib/csharpcomp.c, lib/execute.c, lib/javacomp.c: Update all callers.
Karl Berry [Tue, 25 Apr 2006 12:54:52 +0000 (12:54 +0000)]
mkdtemp.c no sync
Karl Berry [Tue, 25 Apr 2006 12:53:24 +0000 (12:53 +0000)]
autoupdate
Bruno Haible [Tue, 25 Apr 2006 12:01:00 +0000 (12:01 +0000)]
Sort the #include directives more carefully.
Paul Eggert [Tue, 25 Apr 2006 10:30:13 +0000 (10:30 +0000)]
* getdate.y (get_date): When adding relative date, start with the
initial time, not with the result of the first mktime call.
Karl Berry [Tue, 25 Apr 2006 08:01:26 +0000 (08:01 +0000)]
.
Paul Eggert [Mon, 24 Apr 2006 17:50:05 +0000 (17:50 +0000)]
* unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
to define main with arguments, for C++. Reported by Eric Blake.
* c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
Prefer 'int main ()' to 'int main (void)', for C++.
* getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
* fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
for 'main', for C99 and C++.
Karl Berry [Mon, 24 Apr 2006 13:21:32 +0000 (13:21 +0000)]
longdouble.m4 sync lost
Bruno Haible [Mon, 24 Apr 2006 11:38:06 +0000 (11:38 +0000)]
Include <unistd.h> unconditionally.
Bruno Haible [Mon, 24 Apr 2006 11:35:07 +0000 (11:35 +0000)]
Support for packages that use "gettextize --intl". From Claudio Fontana.
Bruno Haible [Mon, 24 Apr 2006 11:33:54 +0000 (11:33 +0000)]
Rearrange code.
Bruno Haible [Mon, 24 Apr 2006 11:32:59 +0000 (11:32 +0000)]
AIX 5.3 also has a broken poll(), reported Ralf Wildenhues.
Bruno Haible [Mon, 24 Apr 2006 11:32:00 +0000 (11:32 +0000)]
Call fclose() in all cases, even in the failure case.
Bruno Haible [Mon, 24 Apr 2006 11:30:53 +0000 (11:30 +0000)]
Apply a fix from Eric Blake that already went into autoconf.
Bruno Haible [Mon, 24 Apr 2006 11:30:00 +0000 (11:30 +0000)]
Fix "gnulib-tool --dry-run --import" in a package that has no lib/ and
no m4/ directory.
Paul Eggert [Mon, 24 Apr 2006 07:35:24 +0000 (07:35 +0000)]
* fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
Don't assume that exit status -1 is valid.
* nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
* putenv.m4 (gl_FUNC_PUTENV): Likewise.
* rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
* readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
* rename.m4 (vb_FUNC_RENAME): Likewise.
* unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
not AC_TRY_RUN. Use return, not exit. Don't assume that
functions can be used without declaring them, or that you can
exit with status -1.
* utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
Karl Berry [Sat, 22 Apr 2006 08:00:46 +0000 (08:00 +0000)]
.
Paul Eggert [Thu, 20 Apr 2006 22:28:33 +0000 (22:28 +0000)]
* argp.m4 (gl_ARGP): Don't call AC_CHECK_DECLS_ONCE with more than
one argument, so that the code will be portable to Autoconf 2.60.
* getlogin_r.m4 (gl_PREREQ_GETLOGIN_R): Likewise.
* getpass.m4 (gl_PREREQ_GETPASS): Likewise.
* unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
Paul Eggert [Wed, 19 Apr 2006 23:26:18 +0000 (23:26 +0000)]
Comments about autoconf-2.60.
Derek R. Price [Wed, 19 Apr 2006 16:47:17 +0000 (16:47 +0000)]
* m4/full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather
than "/full/path.h". Update comment to match. Shorten & generalize
m4_translit call via AS_TR_CPP.
Simon Josefsson [Wed, 19 Apr 2006 14:30:15 +0000 (14:30 +0000)]
Doc fix.
Derek R. Price [Wed, 19 Apr 2006 12:54:02 +0000 (12:54 +0000)]
* lib/inttypes.h: Correct grammar in comment.
Bruno Haible [Wed, 19 Apr 2006 11:36:18 +0000 (11:36 +0000)]
Comments about autoconf-2.60.
Simon Josefsson [Tue, 18 Apr 2006 22:25:51 +0000 (22:25 +0000)]
Doc fix.
Derek R. Price [Tue, 18 Apr 2006 17:20:47 +0000 (17:20 +0000)]
* modules/inttypes: New file.
* modules/strtoimax, modules/strtoumax: Depend on inttypes.
* lib/inttypes.h: New file.
* lib/strtoimax.c: Assume <inttypes.h>.
* m4/_inttypes_h.m4, m4/full-header-path.m4, m4/include_next: New
files.
Paul Eggert [Sat, 15 Apr 2006 07:40:54 +0000 (07:40 +0000)]
* utimens.c (futimens): glibc futimesat messes up if /proc
isn't mounted. Problem reported by Kir Kolyshkin.
Paul Eggert [Thu, 13 Apr 2006 22:14:12 +0000 (22:14 +0000)]
* regcomp.c (init_dfa): Don't use wchar_t or wctype_t if RE_ENABLE_I18N
is not defined. Problem reported by Mark D. Baushke via Derek R. Price.
* regex.h (RE_DUP_MAX): Update comment to match current implementation.
Karl Berry [Thu, 13 Apr 2006 13:59:24 +0000 (13:59 +0000)]
COPYING and COPYING.LESSER are not on the web any more
Eric Blake [Wed, 12 Apr 2006 16:50:51 +0000 (16:50 +0000)]
* modules/time_r (Makefile.am): Remove lib_SOURCES line, as this
is now done automatically by the corresponding Autoconf macro.
Paul Eggert [Wed, 12 Apr 2006 07:11:09 +0000 (07:11 +0000)]
* time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
Paul Eggert [Tue, 11 Apr 2006 05:13:09 +0000 (05:13 +0000)]
Fix space-tab problem. From Jim Meyering.
Karl Berry [Mon, 10 Apr 2006 13:14:34 +0000 (13:14 +0000)]
create *gpl.txt and update COPYING*
Karl Berry [Mon, 10 Apr 2006 07:39:38 +0000 (07:39 +0000)]
.
Paul Eggert [Mon, 10 Apr 2006 06:43:33 +0000 (06:43 +0000)]
Merge regex changes from libc, removing some of our
POSIX-conformance changes that were rejected and redoing them in a
less-intrusive way.
* lib/regcomp.c (re_compile_internal, init_dfa):
Length arg is now size_t, not Idx. All uses changed.
(peek_token): Forward decl now says internal_function.
(__re_error_msgid, __re_error_msgid_idx):
Now static rather than extern with attribute_hidden.
(re_compile_pattern) [!defined _LIBC]: Use K&R-style defn.
For some reason libc prefers K&R style defns for external functions.
(regerror) [!defined _LIBC]: Likewise.
(re_set_syntax, re_compile_fastmap, regcomp, regfree, re_comp):
(seek_collating_symbol_entry, lookup_collation_sequence_value):
(build_range_exp, build_collating_symbol):
Use K&R-style defn.
(re_compile_fastmap): Use '\0' to memset, not 0.
(utf8_sb_map): Make the calculations more obvious.
(init_dfa, parse_bracket_exp, build_charclass_op):
Call calloc and cast result, as glibc does.
(init_word_char, fetch_token, peek_token, peek_token_bracket):
(build_range_exp, build_collating_symbol):
Now internal functions.
* lib/regex.c [!defined _LIBC]: Allow compiling with C++ compilers.
* lib/regex.h (__USE_GNU_REGEX): New macro. Don't depend on
_REGEX_SOURCE any more; depend on _GNU_SOURCE instead.
Don't depend on VMS; depend on __VMS instead, for POSIX
namespace cleanness.
(regoff_t): Define to ssize_t, not long int.
Remove the REG_ macros named below. Instead, make the old names
(e.g., RE_BACKSLASH_ESCAPE_IN_LISTS) visible only if
__USE_GNU_REGEX.
(REG_BACKSLASH_ESCAPE_IN_LISTS):
(REG_BK_PLUS_QM, REG_CHAR_CLASSES, REG_CONTEXT_INDEP_ANCHORS):
(REG_CONTEXT_INDEP_OPS, REG_CONTEXT_INVALID_OPS):
(REG_DOT_NEWLINE, REG_DOT_NOT_NULL, REG_HAT_LISTS_NOT_NEWLINE):
(REG_INTERVALS, REG_LIMITED_OPS, REG_NEWLINE_ALT):
(REG_NO_BK_BRACES, REG_NO_BK_PARENS, REG_NO_BK_REFS):
(REG_NO_BK_VBAR, REG_NO_EMPTY_RANGES):
(REG_UNMATCHED_RIGHT_PAREN_ORD, REG_NO_POSIX_BACKTRACKING):
(REG_NO_GNU_OPS, REG_DEBUG, REG_INVALID_INTERVAL_ORD):
(REG_IGNORE_CASE, REG_CARET_ANCHORS_HERE):
(REG_CONTEXT_INVALID_DUP, REG_NO_SUB, REG_SYNTAX_EMACS):
(REG_SYNTAX_AWK, REG_SYNTAX_GNU_AWK, REG_SYNTAX_POSIX_AWK):
(REG_SYNTAX_GREP, REG_SYNTAX_EGREP, REG_SYNTAX_POSIX_EGREP):
(REG_SYNTAX_ED, REG_SYNTAX_SED, _REG_SYNTAX_POSIX_COMMON):
(REG_SYNTAX_POSIX_BASIC, REG_SYNTAX_POSIX_MINIMAL_BASIC):
(REG_SYNTAX_POSIX_EXTENDED, REG_SYNTAX_POSIX_MINIMAL_EXTENDED):
(REG_DUP_MAX, REG_UNALLOCATED, REG_REALLOCATE, REG_FIXED):
(REG_NREGS):
Remove. All uses replaced by the old RE_* names.
(RE_BACKSLASH_ESCAPE_IN_LISTS):
(RE_BK_PLUS_QM, RE_CHAR_CLASSES, RE_CONTEXT_INDEP_ANCHORS):
(RE_CONTEXT_INDEP_OPS, RE_CONTEXT_INVALID_OPS):
(RE_DOT_NEWLINE, RE_DOT_NOT_NULL, RE_HAT_LISTS_NOT_NEWLINE):
(RE_INTERVALS, RE_LIMITED_OPS, RE_NEWLINE_ALT):
(RE_NO_BK_BRACES, RE_NO_BK_PARENS, RE_NO_BK_REFS):
(RE_NO_BK_VBAR, RE_NO_EMPTY_RANGES):
(RE_UNMATCHED_RIGHT_PAREN_ORD, RE_NO_POSIX_BACKTRACKING):
(RE_NO_GNU_OPS, RE_DEBUG, RE_INVALID_INTERVAL_ORD):
(RE_IGNORE_CASE, RE_CARET_ANCHORS_HERE):
(RE_CONTEXT_INVALID_DUP, RE_NO_SUB):
Don't bother having these macros be independent of each others'
values, since they no longer exist in the POSIX name space.
Rename the following member names back to their old names,
unless !__USE_GNU_REGEX. All uses changed back.
(buffer): Renamed from re_buffer.
(allocated): Renamed from re_allocated.
(used): Renamed from re_used.
(syntax): Renamed from re_syntax.
(fastmap): Renamed from re_fastmap.
(translate): Renamed from re_translate.
(can_be_null): Renamed from re_can_be_null.
(regs_allocated): Renamed from re_regs_allocated.
(fastmap_accurate): Renamed from re_fastmap_accurate.
(no_sub): Renamed from re_no_sub.
(not_bol): Renamed from re_not_bol.
(not_eol): Renamed from re_not_eol.
(newline_anchor): Renamed from re_newline_anchor.
(num_regs): Renamed from rm_num_regs.
(start): Renamed from rm_start.
(end): Renamed from rm_end.
(free_state): Move up a bit.
* lib/regex_internal.h (inline) [__GNUC__ < 3 && defined _LIBC]:
#define to be empty.
(ASCII_CHARS): New macro, replacing all uses of 0x80 and/or SBC_MAX / 2
when that is what is intended.
(SBC_MAX): Define to UCHAR_MAX + 1, not 256.
(__re_error_msgid, __re_error_msgid_idx): Remove decls; not needed.
(MAX): New macro.
(re_xmalloc, re_calloc, re_xrealloc, re_x2realloc): Remove.
All uses changed back to re_malloc, etc. It's now the caller's
responsibility to check for overflow; all callers changed.
(re_alloc_oversized, re_x2alloc_oversized, re_xnmalloc, re_xnrealloc):
(re_x2nrealloc): Remove.
(free_state): Remove decl.
* lib/regexc.c (regexec, re_match, re_search, re_match_2, re_search_2):
(re_set_registers, re_exec):
Use K&R-style defn.
2006-01-31 Roland McGrath <roland@redhat.com>
* lib/regcomp.c (calc_eclosure_iter): Remove dead variables.
Reported by Mike Frysinger <vapier@gentoo.org>.
2006-01-15 Andreas Jaeger <aj@suse.de>
[BZ #1950]
* lib/regex_internal.c (re_string_reconstruct): Adjust for
build_wcs_upper_buffer change.
(build_wcs_upper_buffer): Change return type.
2005-12-10 Ulrich Drepper <drepper@redhat.com>
* lib/regex_internal.h: Include <stdint.h> if available.
2005-12-06 Paolo Bonzini <bonzini@gnu.org>
* lib/regex_internal.h (SIZE_MAX): Provide a default definition.
2005-10-14 Ulrich Drepper <drepper@redhat.com>
* lib/regcomp.c: Adjust for changed secondary hash function.
2005-09-30 Ulrich Drepper <drepper@redhat.com>
* lib/regex.h: Pretty printing.
Clean up namespace a bit.
2005-09-30 Jakub Jelinek <jakub@redhat.com>
* lib/regexec.c (update_cur_sifted_state, check_arrival,
check_arrival_add_next_nodes): Avoid using uninitialized variable.
2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
Ulrich Drepper <drepper@redhat.com>
[BZ #1302]
* lib/regex_internal.h (bitset_t): Renamed from bitset. All uses changed.
(bitset_word_t): Renamed from bitset_word. All uses changed.
2005-09-22 Ulrich Drepper <drepper@redhat.com>
[BZ #281]
* lib/regex.h: Define RE_TRANSLATE_TYPE as unsigned char *.
* lib/regcomp.c: Remove unnecessary uses of
unsigned RE_TRANSLATE_TYPE.
* lib/regex_internal.h: Likewise.
* lib/regex_internal.c: Likewise.
* lib/regexec.c: Likewise.
Based on a patch by Stepan Kasal <kasal@ucw.cz>.
2005-09-07 Ulrich Drepper <drepper@redhat.com>
* lib/regexec.c (find_recover_state): Remove unnecessary
initialization.
(transit_state_bkref): Make DFA a const pointer.
(get_subexp): Likewise.
(check_arrival): Likewise.
(update_cur_sifted_state): Likewise.
(re_search_internal): Likewise.
(prune_impossible_nodes): Likewise.
(acquire_init_state_context): Likewise.
(proceed_next_node): Likewise.
(set_regs): Likewise.
(free_fail_stack_return): Likewise.
(check_arrival_expand_ecl): Mark DFA parameter as const.
(check_arrival_expand_ecl_sub): Likewise.
(check_subexp_limits): Likewise.
(sub_epsilon_src_nodes): Likewise.
(add_epsilon_src_nodes): Likewise.
(merge_state_array): Likewise.
(update_regs): Likewise.
(build_trtable): Likewise.
(sift_states_backward): Mark MCTX parameter as const.
(build_sifted_states): Likewise.
(update_cur_sifted_state): Likewise.
(sift_states_mkref): Likewise.
(check_arrival_expand_ecl): Mark eclosure as const.
(check_dst_limits_calc_pos_1): Likewise.
* lib/regex_internal.h (re_match_context_t): Make dfa a const
pointer.
2005-09-06 Ulrich Drepper <drepper@redhat.com>
* lib/regexec.c (merge_state_with_log): Define dfa as const pointer.
(transit_state_sb): Likewise.
(transit_state_mb): Likewise.
(sift_states_iter_mb): Likewise.
(check_arrival_add_next_nodes): Likewise.
(check_node_accept_bytes): Change first parameter to pointer-to-const.
[_LIBC] (re_search_2_stub): Use mempcpy.
* lib/regex_internal.c (re_string_reconstruct): Avoid calling
mbrtowc for very simple UTF-8 case.
* lib/regex_internal.c (re_acquire_state): Make DFA pointer arg
a pointer-to-const.
(re_acquire_state_context): Likewise.
* lib/regex_internal.h: Adjust prototypes.
* lib/regex.c: Prevent using C++ compilers.
* lib/regex_internal.c (re_acquire_state): Minor code rearrangement.
(re_acquire_state_context): Likewise.
Karl Berry [Sun, 9 Apr 2006 22:54:34 +0000 (22:54 +0000)]
autoupdate
Paul Eggert [Sun, 9 Apr 2006 19:12:34 +0000 (19:12 +0000)]
* gnulib-tool.texi (Modified imports): pathname -> file name.
Karl Berry [Thu, 6 Apr 2006 21:22:28 +0000 (21:22 +0000)]
autoupdate
Bruno Haible [Wed, 29 Mar 2006 13:08:31 +0000 (13:08 +0000)]
Fix for OpenBSD.
Ralf Wildenhues [Sat, 25 Mar 2006 11:05:05 +0000 (11:05 +0000)]
* argz.m4 (gl_FUNC_ARGZ): If we define `error_t', also define
`__error_t_defined', so argp.h will not typedef the former.
Paul Eggert [Sat, 25 Mar 2006 09:48:47 +0000 (09:48 +0000)]
* regex.m4 (gl_REGEX): Fix a longstanding typo in the
implementation of Spencer ERE test #75 from grep 2.3.
Also, change sense of cached
variable, so that the message makes sense.
Paul Eggert [Sat, 25 Mar 2006 09:09:59 +0000 (09:09 +0000)]
* regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional
glibc names. Even if glibc is changed to conform to POSIX, the
traditional names will be available anyway, since regex depends on
the extensions module. Problem reported by Emanuele Giaquinta.
Eric Blake [Sat, 25 Mar 2006 04:36:14 +0000 (04:36 +0000)]
* time_r.c (copy_string_result): Remove, as it is no longer used.
Simon Josefsson [Fri, 24 Mar 2006 15:48:02 +0000 (15:48 +0000)]
Doc fix.
Simon Josefsson [Fri, 24 Mar 2006 14:08:19 +0000 (14:08 +0000)]
2006-03-24 Simon Josefsson <jas@extundo.com>
* base64.c: Fix problems reported by Eric Blake <ebb9@byu.net>,
including some doc fixes.
(base64_encode_alloc): Fix +1 bug on allocation failures.
Simon Josefsson [Fri, 24 Mar 2006 12:36:06 +0000 (12:36 +0000)]
2006-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* base64.c (base64_encode): Do not read past end of array with
unsanitized input on systems with CHAR_BIT > 8.
Simon Josefsson [Fri, 24 Mar 2006 11:02:19 +0000 (11:02 +0000)]
Line wrap.
Karl Berry [Wed, 22 Mar 2006 22:09:26 +0000 (22:09 +0000)]
.
Karl Berry [Wed, 22 Mar 2006 22:08:32 +0000 (22:08 +0000)]
use coreutils for *setenv.[ch]
Karl Berry [Wed, 22 Mar 2006 22:08:04 +0000 (22:08 +0000)]
sync from coreutils
Karl Berry [Wed, 22 Mar 2006 21:21:31 +0000 (21:21 +0000)]
autoupdate
Karl Berry [Wed, 22 Mar 2006 14:42:40 +0000 (14:42 +0000)]
update from texinfo