gnulib.git
18 years ago* c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
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.

18 years ago2006-05-26 Martin Lambers <marlam@marlam.de>
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.

18 years ago* tempname.c (small_open, large_open): New macros.
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>.

18 years agoUpdate
Sergey Poznyakoff [Thu, 25 May 2006 07:03:17 +0000 (07:03 +0000)]
Update

18 years ago(excluded_file_name): New prototype
Sergey Poznyakoff [Thu, 25 May 2006 07:02:20 +0000 (07:02 +0000)]
(excluded_file_name): New prototype

18 years ago(exclude_fnmatch): New function.
Sergey Poznyakoff [Thu, 25 May 2006 07:02:07 +0000 (07:02 +0000)]
(exclude_fnmatch): New function.
(excluded_file_name): Call exclude_fnmatch.

18 years agoautoupdate
Karl Berry [Wed, 24 May 2006 21:47:25 +0000 (21:47 +0000)]
autoupdate

18 years agoautoupdate
Karl Berry [Wed, 24 May 2006 21:46:52 +0000 (21:46 +0000)]
autoupdate

18 years agoBe resilient about NULL pointer arguments.
Bruno Haible [Wed, 24 May 2006 11:48:51 +0000 (11:48 +0000)]
Be resilient about NULL pointer arguments.

18 years agouse @heading commands
Karl Berry [Tue, 23 May 2006 14:05:46 +0000 (14:05 +0000)]
use @heading commands

18 years agoResolve most comments from Ben Pfaff.
Bruno Haible [Mon, 22 May 2006 18:52:10 +0000 (18:52 +0000)]
Resolve most comments from Ben Pfaff.

18 years agoHandle some remarks by Ralf Wildenhues.
Bruno Haible [Mon, 22 May 2006 18:35:03 +0000 (18:35 +0000)]
Handle some remarks by Ralf Wildenhues.

18 years agoFunction Portability doc, for autoconf.
Bruno Haible [Mon, 22 May 2006 17:27:28 +0000 (17:27 +0000)]
Function Portability doc, for autoconf.
First draft.

18 years ago* lib/nanosleep.c [HAVE_SYS_SELECT_H]: Include <sys/select.h>.
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.

18 years ago*** empty log message ***
Jim Meyering [Fri, 19 May 2006 13:00:34 +0000 (13:00 +0000)]
*** empty log message ***

18 years agoCorrect an outdated comment. From Bruno Haible.
Jim Meyering [Fri, 19 May 2006 13:00:12 +0000 (13:00 +0000)]
Correct an outdated comment.  From Bruno Haible.

18 years agoCygwin portability.
Bruno Haible [Wed, 17 May 2006 13:16:53 +0000 (13:16 +0000)]
Cygwin portability.

18 years agoautoupdate
Karl Berry [Wed, 17 May 2006 11:31:24 +0000 (11:31 +0000)]
autoupdate

18 years agoCygwin recognition fix.
Bruno Haible [Wed, 17 May 2006 10:46:10 +0000 (10:46 +0000)]
Cygwin recognition fix.

18 years agoImprove support for Sun C 5.9 on Linux.
Bruno Haible [Mon, 15 May 2006 12:38:41 +0000 (12:38 +0000)]
Improve support for Sun C 5.9 on Linux.

18 years ago* stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
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.

18 years agosha1.c (sha1_buffer): Correct comment: s/MD5/SHA1/. From James Lemley.
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.

18 years agoautoupdate
Karl Berry [Thu, 11 May 2006 13:49:13 +0000 (13:49 +0000)]
autoupdate

18 years agoFix typo in macro name.
Bruno Haible [Thu, 11 May 2006 12:21:14 +0000 (12:21 +0000)]
Fix typo in macro name.

18 years ago2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
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.

18 years ago2006-05-10 Paul Eggert <eggert@cs.ucla.edu>
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.

18 years ago2006-05-10 Bruno Haible <bruno@clisp.org>
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.

18 years ago* md4.c: Typo fix, update copyright years.
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.

18 years ago.
Karl Berry [Wed, 10 May 2006 07:39:26 +0000 (07:39 +0000)]
.

18 years agoRecognize the special case of a string concatenation in xvasprintf.
Bruno Haible [Tue, 9 May 2006 17:26:15 +0000 (17:26 +0000)]
Recognize the special case of a string concatenation in xvasprintf.

18 years ago.
Karl Berry [Tue, 9 May 2006 07:39:32 +0000 (07:39 +0000)]
.

18 years ago* gnulib-tool (func_version): Base copyright year on CVS date.
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.

18 years agoNewest config.rpath from gettext CVS.
Bruno Haible [Mon, 8 May 2006 19:55:10 +0000 (19:55 +0000)]
Newest config.rpath from gettext CVS.

18 years agoautoupdate
Karl Berry [Mon, 8 May 2006 13:22:22 +0000 (13:22 +0000)]
autoupdate

18 years agoNew module 'stdarg'.
Bruno Haible [Mon, 8 May 2006 13:13:13 +0000 (13:13 +0000)]
New module 'stdarg'.

18 years agoupdate from texinfo
Karl Berry [Sun, 7 May 2006 22:05:39 +0000 (22:05 +0000)]
update from texinfo

18 years agoupdate from texinfo
Karl Berry [Fri, 5 May 2006 17:20:50 +0000 (17:20 +0000)]
update from texinfo

18 years ago.
Karl Berry [Fri, 5 May 2006 07:39:22 +0000 (07:39 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Fri, 5 May 2006 07:34:56 +0000 (07:34 +0000)]
*** empty log message ***

18 years agoNew file, derived from bison's file by the same name.
Jim Meyering [Fri, 5 May 2006 07:34:51 +0000 (07:34 +0000)]
New file, derived from bison's file by the same name.

18 years agoShorter URL.
Bruno Haible [Wed, 3 May 2006 12:39:46 +0000 (12:39 +0000)]
Shorter URL.

18 years ago* modules/inttypes (Maintainer): Change from Derek Price to 'all'.
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.

18 years ago* doc/verify.texi: New file.
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.

18 years agoMake --update option actually work.
Bruno Haible [Tue, 2 May 2006 14:31:00 +0000 (14:31 +0000)]
Make --update option actually work.

18 years agogcd in menu
Karl Berry [Sun, 30 Apr 2006 13:38:54 +0000 (13:38 +0000)]
gcd in menu

18 years agoMake generic.
Bruno Haible [Sat, 29 Apr 2006 16:16:07 +0000 (16:16 +0000)]
Make generic.

18 years agoDocument the gcd module.
Bruno Haible [Sat, 29 Apr 2006 16:15:46 +0000 (16:15 +0000)]
Document the gcd module.

18 years ago* lib/wait-process.c, lib/wait-process.h, lib/csharpcomp.c,
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.

18 years agoautoupdate
Karl Berry [Wed, 26 Apr 2006 13:23:19 +0000 (13:23 +0000)]
autoupdate

18 years ago* lib/wait-process.h (wait_subprocess): Accept a new exitsignal argument.
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.

18 years agomkdtemp.c no sync
Karl Berry [Tue, 25 Apr 2006 12:54:52 +0000 (12:54 +0000)]
mkdtemp.c no sync

18 years agoautoupdate
Karl Berry [Tue, 25 Apr 2006 12:53:24 +0000 (12:53 +0000)]
autoupdate

18 years agoSort the #include directives more carefully.
Bruno Haible [Tue, 25 Apr 2006 12:01:00 +0000 (12:01 +0000)]
Sort the #include directives more carefully.

18 years ago* getdate.y (get_date): When adding relative date, start with the
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.

18 years ago.
Karl Berry [Tue, 25 Apr 2006 08:01:26 +0000 (08:01 +0000)]
.

18 years ago* unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
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++.

18 years agolongdouble.m4 sync lost
Karl Berry [Mon, 24 Apr 2006 13:21:32 +0000 (13:21 +0000)]
longdouble.m4 sync lost

18 years agoInclude <unistd.h> unconditionally.
Bruno Haible [Mon, 24 Apr 2006 11:38:06 +0000 (11:38 +0000)]
Include <unistd.h> unconditionally.

18 years agoSupport for packages that use "gettextize --intl". From Claudio Fontana.
Bruno Haible [Mon, 24 Apr 2006 11:35:07 +0000 (11:35 +0000)]
Support for packages that use "gettextize --intl". From Claudio Fontana.

18 years agoRearrange code.
Bruno Haible [Mon, 24 Apr 2006 11:33:54 +0000 (11:33 +0000)]
Rearrange code.

18 years agoAIX 5.3 also has a broken poll(), reported Ralf Wildenhues.
Bruno Haible [Mon, 24 Apr 2006 11:32:59 +0000 (11:32 +0000)]
AIX 5.3 also has a broken poll(), reported Ralf Wildenhues.

18 years agoCall fclose() in all cases, even in the failure case.
Bruno Haible [Mon, 24 Apr 2006 11:32:00 +0000 (11:32 +0000)]
Call fclose() in all cases, even in the failure case.

18 years agoApply a fix from Eric Blake that already went into autoconf.
Bruno Haible [Mon, 24 Apr 2006 11:30:53 +0000 (11:30 +0000)]
Apply a fix from Eric Blake that already went into autoconf.

18 years agoFix "gnulib-tool --dry-run --import" in a package that has no lib/ and
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.

18 years ago* fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
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.

18 years ago.
Karl Berry [Sat, 22 Apr 2006 08:00:46 +0000 (08:00 +0000)]
.

18 years ago* argp.m4 (gl_ARGP): Don't call AC_CHECK_DECLS_ONCE with more than
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.

18 years agoComments about autoconf-2.60.
Paul Eggert [Wed, 19 Apr 2006 23:26:18 +0000 (23:26 +0000)]
Comments about autoconf-2.60.

18 years ago* m4/full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather
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.

18 years agoDoc fix.
Simon Josefsson [Wed, 19 Apr 2006 14:30:15 +0000 (14:30 +0000)]
Doc fix.

18 years ago* lib/inttypes.h: Correct grammar in comment.
Derek R. Price [Wed, 19 Apr 2006 12:54:02 +0000 (12:54 +0000)]
* lib/inttypes.h: Correct grammar in comment.

18 years agoComments about autoconf-2.60.
Bruno Haible [Wed, 19 Apr 2006 11:36:18 +0000 (11:36 +0000)]
Comments about autoconf-2.60.

18 years agoDoc fix.
Simon Josefsson [Tue, 18 Apr 2006 22:25:51 +0000 (22:25 +0000)]
Doc fix.

18 years ago* modules/inttypes: New file.
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.

18 years ago* utimens.c (futimens): glibc futimesat messes up if /proc
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.

18 years ago* regcomp.c (init_dfa): Don't use wchar_t or wctype_t if RE_ENABLE_I18N
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.

18 years agoCOPYING and COPYING.LESSER are not on the web any more
Karl Berry [Thu, 13 Apr 2006 13:59:24 +0000 (13:59 +0000)]
COPYING and COPYING.LESSER are not on the web any more

18 years ago* modules/time_r (Makefile.am): Remove lib_SOURCES line, as this
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.

18 years ago* time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
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.

18 years agoFix space-tab problem. From Jim Meyering.
Paul Eggert [Tue, 11 Apr 2006 05:13:09 +0000 (05:13 +0000)]
Fix space-tab problem.  From Jim Meyering.

18 years agocreate *gpl.txt and update COPYING*
Karl Berry [Mon, 10 Apr 2006 13:14:34 +0000 (13:14 +0000)]
create *gpl.txt and update COPYING*

18 years ago.
Karl Berry [Mon, 10 Apr 2006 07:39:38 +0000 (07:39 +0000)]
.

18 years agoMerge regex changes from libc, removing some of our
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.

18 years agoautoupdate
Karl Berry [Sun, 9 Apr 2006 22:54:34 +0000 (22:54 +0000)]
autoupdate

18 years ago* gnulib-tool.texi (Modified imports): pathname -> file name.
Paul Eggert [Sun, 9 Apr 2006 19:12:34 +0000 (19:12 +0000)]
* gnulib-tool.texi (Modified imports): pathname -> file name.

18 years agoautoupdate
Karl Berry [Thu, 6 Apr 2006 21:22:28 +0000 (21:22 +0000)]
autoupdate

18 years agoFix for OpenBSD.
Bruno Haible [Wed, 29 Mar 2006 13:08:31 +0000 (13:08 +0000)]
Fix for OpenBSD.

18 years ago* argz.m4 (gl_FUNC_ARGZ): If we define `error_t', also define
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.

18 years ago* regex.m4 (gl_REGEX): Fix a longstanding typo in the
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.

18 years ago* regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
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.

18 years ago* time_r.c (copy_string_result): Remove, as it is no longer used.
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.

18 years agoDoc fix.
Simon Josefsson [Fri, 24 Mar 2006 15:48:02 +0000 (15:48 +0000)]
Doc fix.

18 years ago2006-03-24 Simon Josefsson <jas@extundo.com>
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.

18 years ago2006-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
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.

18 years agoLine wrap.
Simon Josefsson [Fri, 24 Mar 2006 11:02:19 +0000 (11:02 +0000)]
Line wrap.

18 years ago.
Karl Berry [Wed, 22 Mar 2006 22:09:26 +0000 (22:09 +0000)]
.

18 years agouse coreutils for *setenv.[ch]
Karl Berry [Wed, 22 Mar 2006 22:08:32 +0000 (22:08 +0000)]
use coreutils for *setenv.[ch]

18 years agosync from coreutils
Karl Berry [Wed, 22 Mar 2006 22:08:04 +0000 (22:08 +0000)]
sync from coreutils

18 years agoautoupdate
Karl Berry [Wed, 22 Mar 2006 21:21:31 +0000 (21:21 +0000)]
autoupdate

18 years agoupdate from texinfo
Karl Berry [Wed, 22 Mar 2006 14:42:40 +0000 (14:42 +0000)]
update from texinfo