gnulib.git
17 years ago2007-01-29 Yoann Vandoorselaere <yoann@prelude-ids.org>
Bruno Haible [Mon, 29 Jan 2007 17:21:16 +0000 (17:21 +0000)]
2007-01-29  Yoann Vandoorselaere  <yoann@prelude-ids.org>
        * modules/strptime: New file.
        * lib/strptime.h: New file.
        * lib/strptime.c: New file.
        * m4/strptime.m4: New file.

17 years ago* MODULES.html.sh: New module mpsort.
Paul Eggert [Mon, 29 Jan 2007 07:23:21 +0000 (07:23 +0000)]
* MODULES.html.sh: New module mpsort.
* lib/mpsort.c, lib/mpsort.h, m4/mpsort.m4, modules/mpsort: New files.

17 years ago* lib/regex.h (_Restrict_): Renamed from __restrict, to avoid
Paul Eggert [Mon, 29 Jan 2007 00:37:14 +0000 (00:37 +0000)]
* lib/regex.h (_Restrict_): Renamed from __restrict, to avoid
a circularity problem with HP-UX ia64 reported by Bob Proulx in
<http://lists.gnu.org/archive/html/bug-gnulib/2007-01/msg00394.html>.
All uses changed.
(_Restrict_arr_): Renamed from __restrict_arr, for similar reasons.
All uses changed.
* lib/regcomp.c, lib/regexec.c: Change all uses from __restrict
to _Restrict_.
* lib/regexec.c (regexec): Declare pmatch with _Restrict_arr_, so that
the parameter matches the prototype.

17 years ago* modules/sys_time (Makefile.am) [MOSTLYCLEANFILES]: Do use
Jim Meyering [Sun, 28 Jan 2007 20:14:37 +0000 (20:14 +0000)]
* modules/sys_time (Makefile.am) [MOSTLYCLEANFILES]: Do use
sys/time.h here, reverting that part of the previous patch:
<http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/8959>.

remove it conditionally, too. [added by Jim Meyering]

17 years ago* modules/sys_time (Makefile.am): Build sys/time.h only when it's the
Jim Meyering [Sun, 28 Jan 2007 18:55:01 +0000 (18:55 +0000)]
* modules/sys_time (Makefile.am): Build sys/time.h only when it's the
value of $(SYS_TIME_H).
[MOSTLYCLEANFILES]: Now that sys/time.h is created only when needed,
remove it conditionally, too.
* m4/sys_time_h.m4 (gl_HEADER_SYS_TIME_H_BODY): Set SYS_TIME_H.
* m4/gettimeofday.m4 (gl_FUNC_GETTIMEOFDAY):
(gl_FUNC_GETTIMEOFDAY_CLOBBER): Set SYS_TIME_H when setting
GETTIMEOFDAY_REPLACEMENT to 1.

2007-01-28  Bruno Haible  <bruno@clisp.org>

17 years agoSimplify macrology that creates unistd.h.
Bruno Haible [Sun, 28 Jan 2007 16:10:39 +0000 (16:10 +0000)]
Simplify macrology that creates unistd.h.

17 years agoReduce the number of AC_LIBOBJ invocations by 1.
Bruno Haible [Sun, 28 Jan 2007 16:00:02 +0000 (16:00 +0000)]
Reduce the number of AC_LIBOBJ invocations by 1.

17 years ago* gnulib-tool (func_emit_lib_Makefile_am, func_add_or_update)
Ralf Wildenhues [Sun, 28 Jan 2007 13:58:02 +0000 (13:58 +0000)]
* gnulib-tool (func_emit_lib_Makefile_am, func_add_or_update)
(func_create_testdir): Ensure C locale for `grep' and `tr'
character ranges.
(func_create_megatestdir): Avoid one `grep'.  Fix bug in
ACLOCAL_AMFLAGS parsing state machine.

17 years agoRenamed modules.
Bruno Haible [Sun, 28 Jan 2007 13:22:14 +0000 (13:22 +0000)]
Renamed modules.

17 years agoRename u32-mbtouc-safe -> u32-mbtouc, u32_mbtouc_safe -> u32_mbtouc.
Bruno Haible [Sun, 28 Jan 2007 02:42:23 +0000 (02:42 +0000)]
Rename u32-mbtouc-safe -> u32-mbtouc, u32_mbtouc_safe -> u32_mbtouc.

17 years agoMove to u32-mbtouc.c.
Bruno Haible [Sun, 28 Jan 2007 02:36:09 +0000 (02:36 +0000)]
Move to u32-mbtouc.c.

17 years agoMove to here from u32-mbtouc-safe.c.
Bruno Haible [Sun, 28 Jan 2007 02:36:06 +0000 (02:36 +0000)]
Move to here from u32-mbtouc-safe.c.

17 years agoMove to u32-mbtouc.
Bruno Haible [Sun, 28 Jan 2007 02:35:44 +0000 (02:35 +0000)]
Move to u32-mbtouc.

17 years agoMove to here from u32-mbtouc-safe.
Bruno Haible [Sun, 28 Jan 2007 02:35:41 +0000 (02:35 +0000)]
Move to here from u32-mbtouc-safe.

17 years agoRename u32-mbtouc -> u32-mbtouc-unsafe, u32_mbtouc -> u32_mbtouc_unsafe.
Bruno Haible [Sun, 28 Jan 2007 02:30:19 +0000 (02:30 +0000)]
Rename u32-mbtouc -> u32-mbtouc-unsafe, u32_mbtouc -> u32_mbtouc_unsafe.

17 years agoMove to u32-mbtouc-unsafe.c.
Bruno Haible [Sun, 28 Jan 2007 02:29:35 +0000 (02:29 +0000)]
Move to u32-mbtouc-unsafe.c.

17 years agoMove to here from u32-mbtouc.c.
Bruno Haible [Sun, 28 Jan 2007 02:29:32 +0000 (02:29 +0000)]
Move to here from u32-mbtouc.c.

17 years agoMove to u32-mbtouc-unsafe.
Bruno Haible [Sun, 28 Jan 2007 02:29:12 +0000 (02:29 +0000)]
Move to u32-mbtouc-unsafe.

17 years agoMove to here from u32-mbtouc.
Bruno Haible [Sun, 28 Jan 2007 02:29:09 +0000 (02:29 +0000)]
Move to here from u32-mbtouc.

17 years agoRename utf16-ucs4-safe -> utf16-ucs4, u16_mbtouc_safe -> u16_mbtouc.
Bruno Haible [Sun, 28 Jan 2007 02:20:32 +0000 (02:20 +0000)]
Rename utf16-ucs4-safe -> utf16-ucs4, u16_mbtouc_safe -> u16_mbtouc.

17 years agoMove to u16-mbtouc.c.
Bruno Haible [Sun, 28 Jan 2007 02:11:35 +0000 (02:11 +0000)]
Move to u16-mbtouc.c.

17 years agoMove to here from u16-mbtouc-safe.c.
Bruno Haible [Sun, 28 Jan 2007 02:11:33 +0000 (02:11 +0000)]
Move to here from u16-mbtouc-safe.c.

17 years agoMove to u16-mbtouc.
Bruno Haible [Sun, 28 Jan 2007 02:10:32 +0000 (02:10 +0000)]
Move to u16-mbtouc.

17 years agoMove to here from u16-mbtouc-safe.
Bruno Haible [Sun, 28 Jan 2007 02:10:29 +0000 (02:10 +0000)]
Move to here from u16-mbtouc-safe.

17 years agoMove to utf16-ucs4.c.
Bruno Haible [Sun, 28 Jan 2007 02:10:09 +0000 (02:10 +0000)]
Move to utf16-ucs4.c.

17 years agoMove to here from utf16-ucs4-safe.c.
Bruno Haible [Sun, 28 Jan 2007 02:10:06 +0000 (02:10 +0000)]
Move to here from utf16-ucs4-safe.c.

17 years agoMove to utf16-ucs4.h.
Bruno Haible [Sun, 28 Jan 2007 02:09:55 +0000 (02:09 +0000)]
Move to utf16-ucs4.h.

17 years agoMove to here from utf16-ucs4-safe.h.
Bruno Haible [Sun, 28 Jan 2007 02:09:52 +0000 (02:09 +0000)]
Move to here from utf16-ucs4-safe.h.

17 years agoMove to utf16-ucs4.
Bruno Haible [Sun, 28 Jan 2007 02:09:33 +0000 (02:09 +0000)]
Move to utf16-ucs4.

17 years agoMove to here from utf16-ucs4-safe.
Bruno Haible [Sun, 28 Jan 2007 02:09:30 +0000 (02:09 +0000)]
Move to here from utf16-ucs4-safe.

17 years agoRename utf16-ucs4 -> utf16-ucs4-unsafe, u16_mbtouc -> u16_mbtouc_unsafe.
Bruno Haible [Sun, 28 Jan 2007 02:04:41 +0000 (02:04 +0000)]
Rename utf16-ucs4 -> utf16-ucs4-unsafe, u16_mbtouc -> u16_mbtouc_unsafe.

17 years agoMove to u16-mbtouc-unsafe.c.
Bruno Haible [Sun, 28 Jan 2007 02:00:43 +0000 (02:00 +0000)]
Move to u16-mbtouc-unsafe.c.

17 years agoMove to here from u16-mbtouc.c.
Bruno Haible [Sun, 28 Jan 2007 02:00:40 +0000 (02:00 +0000)]
Move to here from u16-mbtouc.c.

17 years agoMove to u16-mbtouc-unsafe.
Bruno Haible [Sun, 28 Jan 2007 02:00:08 +0000 (02:00 +0000)]
Move to u16-mbtouc-unsafe.

17 years agoMove to here from u16-mbtouc.
Bruno Haible [Sun, 28 Jan 2007 02:00:06 +0000 (02:00 +0000)]
Move to here from u16-mbtouc.

17 years agoMove to utf16-ucs4-unsafe.c.
Bruno Haible [Sun, 28 Jan 2007 01:59:49 +0000 (01:59 +0000)]
Move to utf16-ucs4-unsafe.c.

17 years agoMove to here from utf16-ucs4.c.
Bruno Haible [Sun, 28 Jan 2007 01:59:46 +0000 (01:59 +0000)]
Move to here from utf16-ucs4.c.

17 years agoMove to utf16-ucs4-unsafe.h.
Bruno Haible [Sun, 28 Jan 2007 01:59:30 +0000 (01:59 +0000)]
Move to utf16-ucs4-unsafe.h.

17 years agoMove to here from utf16-ucs4.h.
Bruno Haible [Sun, 28 Jan 2007 01:59:28 +0000 (01:59 +0000)]
Move to here from utf16-ucs4.h.

17 years agoMove to utf16-ucs4-unsafe.
Bruno Haible [Sun, 28 Jan 2007 01:59:11 +0000 (01:59 +0000)]
Move to utf16-ucs4-unsafe.

17 years agoMove to here from utf16-ucs4.
Bruno Haible [Sun, 28 Jan 2007 01:59:08 +0000 (01:59 +0000)]
Move to here from utf16-ucs4.

17 years agoRename utf8-ucs4-safe -> utf8-ucs4, u8_mbtouc_safe -> u8_mbtouc.
Bruno Haible [Sun, 28 Jan 2007 01:49:16 +0000 (01:49 +0000)]
Rename utf8-ucs4-safe -> utf8-ucs4, u8_mbtouc_safe -> u8_mbtouc.

17 years agoMove to u8-mbtouc.c.
Bruno Haible [Sun, 28 Jan 2007 01:41:18 +0000 (01:41 +0000)]
Move to u8-mbtouc.c.

17 years agoMove to here from u8-mbtouc-safe.c.
Bruno Haible [Sun, 28 Jan 2007 01:41:15 +0000 (01:41 +0000)]
Move to here from u8-mbtouc-safe.c.

17 years agoMove to u8-mbtouc.
Bruno Haible [Sun, 28 Jan 2007 01:40:51 +0000 (01:40 +0000)]
Move to u8-mbtouc.

17 years agoMove to here from u8-mbtouc-safe.
Bruno Haible [Sun, 28 Jan 2007 01:40:48 +0000 (01:40 +0000)]
Move to here from u8-mbtouc-safe.

17 years agoMove to utf8-ucs4.c.
Bruno Haible [Sun, 28 Jan 2007 01:40:27 +0000 (01:40 +0000)]
Move to utf8-ucs4.c.

17 years agoMove to here from utf8-ucs4-safe.c.
Bruno Haible [Sun, 28 Jan 2007 01:40:24 +0000 (01:40 +0000)]
Move to here from utf8-ucs4-safe.c.

17 years agoMove to utf8-ucs4.h.
Bruno Haible [Sun, 28 Jan 2007 01:40:03 +0000 (01:40 +0000)]
Move to utf8-ucs4.h.

17 years agoMove to here from utf8-ucs4-safe.h.
Bruno Haible [Sun, 28 Jan 2007 01:40:00 +0000 (01:40 +0000)]
Move to here from utf8-ucs4-safe.h.

17 years agoMove to utf8-ucs4.
Bruno Haible [Sun, 28 Jan 2007 01:31:59 +0000 (01:31 +0000)]
Move to utf8-ucs4.

17 years agoMove to here from utf8-ucs4-safe.
Bruno Haible [Sun, 28 Jan 2007 01:31:56 +0000 (01:31 +0000)]
Move to here from utf8-ucs4-safe.

17 years agoRename u8_mbtouc -> u8_mbtouc_unsafe.
Bruno Haible [Sat, 27 Jan 2007 19:01:25 +0000 (19:01 +0000)]
Rename u8_mbtouc -> u8_mbtouc_unsafe.

17 years agoMove to u8-mbtouc-unsafe.c.
Bruno Haible [Sat, 27 Jan 2007 18:55:56 +0000 (18:55 +0000)]
Move to u8-mbtouc-unsafe.c.

17 years agoMove to here from u8-mbtouc.c.
Bruno Haible [Sat, 27 Jan 2007 18:55:53 +0000 (18:55 +0000)]
Move to here from u8-mbtouc.c.

17 years agoMove to u8-mbtouc-unsafe.
Bruno Haible [Sat, 27 Jan 2007 18:53:57 +0000 (18:53 +0000)]
Move to u8-mbtouc-unsafe.

17 years agoMove to here from u8-mbtouc.
Bruno Haible [Sat, 27 Jan 2007 18:53:54 +0000 (18:53 +0000)]
Move to here from u8-mbtouc.

17 years agoMove to utf8-ucs4-unsafe.c.
Bruno Haible [Sat, 27 Jan 2007 18:42:08 +0000 (18:42 +0000)]
Move to utf8-ucs4-unsafe.c.

17 years agoMove to here from utf8-ucs4.c.
Bruno Haible [Sat, 27 Jan 2007 18:42:05 +0000 (18:42 +0000)]
Move to here from utf8-ucs4.c.

17 years agoMove to utf8-ucs4-unsafe.h.
Bruno Haible [Sat, 27 Jan 2007 18:40:48 +0000 (18:40 +0000)]
Move to utf8-ucs4-unsafe.h.

17 years agoMove to here from utf8-ucs4.h.
Bruno Haible [Sat, 27 Jan 2007 18:40:45 +0000 (18:40 +0000)]
Move to here from utf8-ucs4.h.

17 years agoMove to utf8-ucs4-unsafe.
Bruno Haible [Sat, 27 Jan 2007 18:39:14 +0000 (18:39 +0000)]
Move to utf8-ucs4-unsafe.

17 years agoMove to here from utf8-ucs4.
Bruno Haible [Sat, 27 Jan 2007 18:39:11 +0000 (18:39 +0000)]
Move to here from utf8-ucs4.

17 years agoFix Copyright years.
Ralf Wildenhues [Sat, 27 Jan 2007 16:51:39 +0000 (16:51 +0000)]
Fix Copyright years.

17 years agoSync from Libtool.
Ralf Wildenhues [Sat, 27 Jan 2007 16:49:19 +0000 (16:49 +0000)]
Sync from Libtool.
* lib/argz.c: Do not include strings.h nor memory.h, include
string.h unconditionally.  Patch by Simon Josefsson.

17 years agoEnforce ordering constraints between gl_HEADER_STRING_H_DEFAULTS and the
Bruno Haible [Sat, 27 Jan 2007 14:43:17 +0000 (14:43 +0000)]
Enforce ordering constraints between gl_HEADER_STRING_H_DEFAULTS and the
statements that assign non-default values.

17 years agoIn testing directories, link the test programs already during "make", not
Bruno Haible [Sat, 27 Jan 2007 13:53:54 +0000 (13:53 +0000)]
In testing directories, link the test programs already during "make", not
during "make check".

17 years agoDeclare strcasestr() in the <string.h> replacement, rather than in
Bruno Haible [Sat, 27 Jan 2007 13:17:15 +0000 (13:17 +0000)]
Declare strcasestr() in the <string.h> replacement, rather than in
strcasestr.h.

17 years agoObsoleted by the new <string.h> replacement.
Bruno Haible [Sat, 27 Jan 2007 13:16:08 +0000 (13:16 +0000)]
Obsoleted by the new <string.h> replacement.

17 years agoUse 'extern'.
Bruno Haible [Sat, 27 Jan 2007 12:58:57 +0000 (12:58 +0000)]
Use 'extern'.

17 years agoTypo in ChangeLog entry.
Bruno Haible [Sat, 27 Jan 2007 12:24:16 +0000 (12:24 +0000)]
Typo in ChangeLog entry.

17 years ago* lib/regex_internal.c (re_string_reconstruct): Remove declaration
Jim Meyering [Sat, 27 Jan 2007 09:44:43 +0000 (09:44 +0000)]
* lib/regex_internal.c (re_string_reconstruct): Remove declaration
of set-but-not-used local, "q".

17 years ago* lib/mempcpy.c: Include <config.h> before <string.h>.
Jim Meyering [Sat, 27 Jan 2007 07:35:49 +0000 (07:35 +0000)]
* lib/mempcpy.c: Include <config.h> before <string.h>.
This fixes a compilation error on HP-UX, due to the system's
"restrict"-using mempcpy prototype.

17 years agoSmall optimization.
Bruno Haible [Sat, 27 Jan 2007 02:21:21 +0000 (02:21 +0000)]
Small optimization.

17 years agoNew modules uniconv/*.
Bruno Haible [Sat, 27 Jan 2007 01:05:04 +0000 (01:05 +0000)]
New modules uniconv/*.

17 years agoNew module 'uniconv/u32-strconv-to-locale'.
Bruno Haible [Sat, 27 Jan 2007 00:53:08 +0000 (00:53 +0000)]
New module 'uniconv/u32-strconv-to-locale'.

17 years agoNew module 'uniconv/u16-strconv-to-locale'.
Bruno Haible [Sat, 27 Jan 2007 00:52:30 +0000 (00:52 +0000)]
New module 'uniconv/u16-strconv-to-locale'.

17 years agoNew module 'uniconv/u8-strconv-to-locale'.
Bruno Haible [Sat, 27 Jan 2007 00:52:00 +0000 (00:52 +0000)]
New module 'uniconv/u8-strconv-to-locale'.

17 years agoNew module 'uniconv/u32-strconv-from-locale'.
Bruno Haible [Sat, 27 Jan 2007 00:51:13 +0000 (00:51 +0000)]
New module 'uniconv/u32-strconv-from-locale'.

17 years agoNew module 'uniconv/u16-strconv-from-locale'.
Bruno Haible [Sat, 27 Jan 2007 00:50:42 +0000 (00:50 +0000)]
New module 'uniconv/u16-strconv-from-locale'.

17 years agoNew module 'uniconv/u8-strconv-from-locale'.
Bruno Haible [Sat, 27 Jan 2007 00:50:22 +0000 (00:50 +0000)]
New module 'uniconv/u8-strconv-from-locale'.

17 years agoTests for module 'uniconv/u32-strconv-to-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:50:01 +0000 (00:50 +0000)]
Tests for module 'uniconv/u32-strconv-to-enc'.

17 years agoNew module 'uniconv/u32-strconv-to-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:49:39 +0000 (00:49 +0000)]
New module 'uniconv/u32-strconv-to-enc'.

17 years agoTests for module 'uniconv/u16-strconv-to-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:49:14 +0000 (00:49 +0000)]
Tests for module 'uniconv/u16-strconv-to-enc'.

17 years agoNew module 'uniconv/u16-strconv-to-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:48:49 +0000 (00:48 +0000)]
New module 'uniconv/u16-strconv-to-enc'.

17 years agoNew modules 'uniconv/u16-strconv-to-enc', 'uniconv/u32-strconv-to-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:48:30 +0000 (00:48 +0000)]
New modules 'uniconv/u16-strconv-to-enc', 'uniconv/u32-strconv-to-enc'.

17 years agoTests for module 'uniconv/u8-strconv-to-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:48:05 +0000 (00:48 +0000)]
Tests for module 'uniconv/u8-strconv-to-enc'.

17 years agoNew module 'uniconv/u8-strconv-to-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:47:44 +0000 (00:47 +0000)]
New module 'uniconv/u8-strconv-to-enc'.

17 years agoTests for module 'uniconv/u32-strconv-from-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:45:18 +0000 (00:45 +0000)]
Tests for module 'uniconv/u32-strconv-from-enc'.

17 years agoNew module 'uniconv/u32-strconv-from-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:44:57 +0000 (00:44 +0000)]
New module 'uniconv/u32-strconv-from-enc'.

17 years agoTests for module 'uniconv/u16-strconv-from-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:44:24 +0000 (00:44 +0000)]
Tests for module 'uniconv/u16-strconv-from-enc'.

17 years agoNew module 'uniconv/u16-strconv-from-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:44:03 +0000 (00:44 +0000)]
New module 'uniconv/u16-strconv-from-enc'.

17 years agoTests for module 'uniconv/u8-strconv-from-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:43:40 +0000 (00:43 +0000)]
Tests for module 'uniconv/u8-strconv-from-enc'.

17 years agoNew module 'uniconv/u8-strconv-from-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:43:15 +0000 (00:43 +0000)]
New module 'uniconv/u8-strconv-from-enc'.

17 years agoNew modules uniconv/u8-strconv-from-enc, uniconv/u16-strconv-from-enc,
Bruno Haible [Sat, 27 Jan 2007 00:42:51 +0000 (00:42 +0000)]
New modules uniconv/u8-strconv-from-enc, uniconv/u16-strconv-from-enc,
uniconv/u32-strconv-from-enc.

17 years agoTests for module 'uniconv/u32-conv-from-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:42:18 +0000 (00:42 +0000)]
Tests for module 'uniconv/u32-conv-from-enc'.

17 years agoNew module 'uniconv/u32-conv-from-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:41:56 +0000 (00:41 +0000)]
New module 'uniconv/u32-conv-from-enc'.

17 years agoTests for module 'uniconv/u16-conv-from-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:41:33 +0000 (00:41 +0000)]
Tests for module 'uniconv/u16-conv-from-enc'.

17 years agoNew module 'uniconv/u16-conv-from-enc'.
Bruno Haible [Sat, 27 Jan 2007 00:41:10 +0000 (00:41 +0000)]
New module 'uniconv/u16-conv-from-enc'.

17 years agoNew modules uniconv/u16-conv-from-enc and uniconv/u32-conv-from-enc.
Bruno Haible [Sat, 27 Jan 2007 00:40:49 +0000 (00:40 +0000)]
New modules uniconv/u16-conv-from-enc and uniconv/u32-conv-from-enc.