gnulib.git
17 years ago* lib/stat-time.h: (get_stat_birthtime): Check for zero-valued
Paul Eggert [Tue, 3 Apr 2007 20:19:02 +0000 (20:19 +0000)]
* lib/stat-time.h: (get_stat_birthtime): Check for zero-valued
birthtime on all systems, not just those which use
st_birthtimensec rather than st_birthtim.  Putting zero in
st_bithtim.tv_sec is how (for example) FreeBSD/x86 6.1
indicates that the birth time is not available for files on
an NFS mount.

17 years agoMove back memxor module.
Simon Josefsson [Tue, 3 Apr 2007 14:34:41 +0000 (14:34 +0000)]
Move back memxor module.

17 years agoFix gc.
Simon Josefsson [Tue, 3 Apr 2007 14:32:58 +0000 (14:32 +0000)]
Fix gc.

17 years agoMove modules/gc to crypto/.
Simon Josefsson [Tue, 3 Apr 2007 14:32:38 +0000 (14:32 +0000)]
Move modules/gc to crypto/.

17 years agoMake ldexpl truly independent of libm
Eric Blake [Tue, 3 Apr 2007 03:52:05 +0000 (03:52 +0000)]
Make ldexpl truly independent of libm

17 years agoFix printf-frexpl dependency
Eric Blake [Tue, 3 Apr 2007 03:32:35 +0000 (03:32 +0000)]
Fix printf-frexpl dependency

17 years agoHandle collision with EX_OK from IRIX <unistd.h>.
Bruno Haible [Tue, 3 Apr 2007 00:50:15 +0000 (00:50 +0000)]
Handle collision with EX_OK from IRIX <unistd.h>.

17 years agoAvoid performing the test for real on x86 or x86_64 platforms running MacOS X.
Bruno Haible [Tue, 3 Apr 2007 00:31:40 +0000 (00:31 +0000)]
Avoid performing the test for real on x86 or x86_64 platforms running MacOS X.

17 years agoRegarding integer division by 0, x86_64 behaves like i386.
Bruno Haible [Tue, 3 Apr 2007 00:12:05 +0000 (00:12 +0000)]
Regarding integer division by 0, x86_64 behaves like i386.

17 years agoIt was a joke.
Bruno Haible [Tue, 3 Apr 2007 00:10:00 +0000 (00:10 +0000)]
It was a joke.

17 years agoautoupdate
Karl Berry [Mon, 2 Apr 2007 22:56:19 +0000 (22:56 +0000)]
autoupdate

17 years agobreak iconv.m4 sync
Karl Berry [Mon, 2 Apr 2007 22:38:14 +0000 (22:38 +0000)]
break iconv.m4 sync

17 years agoNew module 'phystemp'.
Bruno Haible [Sun, 1 Apr 2007 13:56:50 +0000 (13:56 +0000)]
New module 'phystemp'.

17 years agoCrypto modules were renamed.
Bruno Haible [Sun, 1 Apr 2007 11:01:09 +0000 (11:01 +0000)]
Crypto modules were renamed.

17 years agoMove crypto modules to crypto/.
Simon Josefsson [Sun, 1 Apr 2007 08:38:41 +0000 (08:38 +0000)]
Move crypto modules to crypto/.

17 years ago2007-03-30 James Youngman <jay@gnu.org>
Bruno Haible [Sat, 31 Mar 2007 21:04:26 +0000 (21:04 +0000)]
2007-03-30  James Youngman  <jay@gnu.org>
        * tests/test-stat-time.c (prepare_test): use chmod() rather than
        rename() to change the ctime of a file (because ctime is unaffected
        by rename on jfs2 on AIX 5.1).
        (main): Start by doing cleanup, in case a previous run failed leaving
        test files behind.

17 years agoDo an indirect conversion if iconv_open does not support a direct conversion.
Bruno Haible [Sat, 31 Mar 2007 21:01:29 +0000 (21:01 +0000)]
Do an indirect conversion if iconv_open does not support a direct conversion.

17 years agoUse module 'iconv_open'.
Bruno Haible [Sat, 31 Mar 2007 21:00:51 +0000 (21:00 +0000)]
Use module 'iconv_open'.

17 years agoNew module 'iconv_open'.
Bruno Haible [Sat, 31 Mar 2007 21:00:19 +0000 (21:00 +0000)]
New module 'iconv_open'.

17 years agoAvoid test failures on OSF/1, AIX, HP-UX, IRIX, Solaris.
Bruno Haible [Sat, 31 Mar 2007 20:42:08 +0000 (20:42 +0000)]
Avoid test failures on OSF/1, AIX, HP-UX, IRIX, Solaris.

17 years agoDeclare frexpl() when the system doesn't have it.
Bruno Haible [Sat, 31 Mar 2007 20:38:34 +0000 (20:38 +0000)]
Declare frexpl() when the system doesn't have it.

17 years agoDeclare ldexpl() when the system doesn't have it.
Bruno Haible [Sat, 31 Mar 2007 20:36:47 +0000 (20:36 +0000)]
Declare ldexpl() when the system doesn't have it.

17 years agoCheck against unusable HP-UX iconv.
Bruno Haible [Sat, 31 Mar 2007 20:31:44 +0000 (20:31 +0000)]
Check against unusable HP-UX iconv.

17 years agoClassify a few new modules.
Bruno Haible [Sat, 31 Mar 2007 14:01:54 +0000 (14:01 +0000)]
Classify a few new modules.

17 years agoTalk primarily about git, not CVS.
Bruno Haible [Sat, 31 Mar 2007 12:34:54 +0000 (12:34 +0000)]
Talk primarily about git, not CVS.

17 years agoUse _GL_ as double-inclusion guard macro prefix.
Bruno Haible [Fri, 30 Mar 2007 23:56:06 +0000 (23:56 +0000)]
Use _GL_ as double-inclusion guard macro prefix.

17 years ago.
Karl Berry [Fri, 30 Mar 2007 23:45:12 +0000 (23:45 +0000)]
.

17 years agodouble space after USA in the license
Karl Berry [Fri, 30 Mar 2007 23:44:27 +0000 (23:44 +0000)]
double space after USA in the license
substitution, since that's how it's usually (?) written.

17 years agoautoupdate
Karl Berry [Fri, 30 Mar 2007 13:18:58 +0000 (13:18 +0000)]
autoupdate

17 years ago* lib/write-any-file.c (can_write_any_file): Fix else-else bug
Paul Eggert [Fri, 30 Mar 2007 07:08:51 +0000 (07:08 +0000)]
* lib/write-any-file.c (can_write_any_file): Fix else-else bug
reported by Bruno Haible.

17 years agoDetect broken AIX iconv() function.
Bruno Haible [Fri, 30 Mar 2007 01:51:13 +0000 (01:51 +0000)]
Detect broken AIX iconv() function.

17 years agoTests for module 'ldexpl'.
Bruno Haible [Fri, 30 Mar 2007 00:21:34 +0000 (00:21 +0000)]
Tests for module 'ldexpl'.

17 years agoSet the FPU control word as needed for 'long double' computations.
Bruno Haible [Fri, 30 Mar 2007 00:19:34 +0000 (00:19 +0000)]
Set the FPU control word as needed for 'long double' computations.

17 years agoNew module 'ldexpl'.
Bruno Haible [Fri, 30 Mar 2007 00:13:24 +0000 (00:13 +0000)]
New module 'ldexpl'.

17 years agoDeclare frexpl() in the test.
Bruno Haible [Fri, 30 Mar 2007 00:03:15 +0000 (00:03 +0000)]
Declare frexpl() in the test.

17 years agoAvoid test failures on OSF/1, AIX, IRIX, HP-UX.
Bruno Haible [Thu, 29 Mar 2007 23:43:36 +0000 (23:43 +0000)]
Avoid test failures on OSF/1, AIX, IRIX, HP-UX.

17 years agoAvoid test failures on OSF/1, IRIX, HP-UX, AIX.
Bruno Haible [Thu, 29 Mar 2007 23:05:45 +0000 (23:05 +0000)]
Avoid test failures on OSF/1, IRIX, HP-UX, AIX.

17 years agoMake it compile on AIX.
Bruno Haible [Thu, 29 Mar 2007 23:01:29 +0000 (23:01 +0000)]
Make it compile on AIX.

17 years ago* lib/acl-internal.h (acl_get_fd, acl_set_fd): undef before defining,
Paul Eggert [Thu, 29 Mar 2007 22:50:45 +0000 (22:50 +0000)]
* lib/acl-internal.h (acl_get_fd, acl_set_fd): undef before defining,
to work around a problem on OSF/1 5.1 reported by Bruno Haible.

2007-03-29  Eric Blake  <ebb9@byu.net>

* lib/acl-internal.h: Remove redundant include.
(ACL_NOT_WELL_SUPPORTED): Also filter on EBUSY, returned by
Cygwin when a file is locked.

17 years agoTweak last patch: Sync with gettext.
Bruno Haible [Thu, 29 Mar 2007 22:34:33 +0000 (22:34 +0000)]
Tweak last patch: Sync with gettext.

17 years agoTake care of IN_LIBINTL situation.
Bruno Haible [Thu, 29 Mar 2007 22:21:32 +0000 (22:21 +0000)]
Take care of IN_LIBINTL situation.

17 years ago* m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Don't bother to
Paul Eggert [Thu, 29 Mar 2007 21:57:53 +0000 (21:57 +0000)]
* m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Don't bother to
try to remove a parent directory if the child couldn't be removed
(except for the first rmdir, which could fail because the child
doesn't exist).  Problem reported by Jeff Blaine in
<http://lists.gnu.org/archive/html/bug-tar/2007-03/msg00014.html>.

17 years agoautoupdate
Karl Berry [Thu, 29 Mar 2007 15:02:55 +0000 (15:02 +0000)]
autoupdate

17 years agoautoupdate
Karl Berry [Thu, 29 Mar 2007 14:56:42 +0000 (14:56 +0000)]
autoupdate

17 years agoSome refactoring.
Bruno Haible [Wed, 28 Mar 2007 22:25:24 +0000 (22:25 +0000)]
Some refactoring.

17 years agoDistinguish invalid and incomplete UTF-8 input, and set errno accordingly.
Bruno Haible [Wed, 28 Mar 2007 21:50:51 +0000 (21:50 +0000)]
Distinguish invalid and incomplete UTF-8 input, and set errno accordingly.

17 years agoNew modules 'unistr/u8-mbtoucr', 'unistr/u16-mbtoucr', 'unistr/u32-mbtoucr'.
Bruno Haible [Wed, 28 Mar 2007 21:37:36 +0000 (21:37 +0000)]
New modules 'unistr/u8-mbtoucr', 'unistr/u16-mbtoucr', 'unistr/u32-mbtoucr'.

17 years agoNew module 'unistr/u32-mbtoucr'.
Bruno Haible [Wed, 28 Mar 2007 21:37:03 +0000 (21:37 +0000)]
New module 'unistr/u32-mbtoucr'.

17 years agoNew module 'unistr/u16-mbtoucr'.
Bruno Haible [Wed, 28 Mar 2007 21:36:46 +0000 (21:36 +0000)]
New module 'unistr/u16-mbtoucr'.

17 years agoNew module 'unistr/u8-mbtoucr'.
Bruno Haible [Wed, 28 Mar 2007 21:36:32 +0000 (21:36 +0000)]
New module 'unistr/u8-mbtoucr'.

17 years agoReorder.
Simon Josefsson [Wed, 28 Mar 2007 12:05:08 +0000 (12:05 +0000)]
Reorder.

17 years agoMove vasprintf prototypes to stdio.
Simon Josefsson [Tue, 27 Mar 2007 20:18:17 +0000 (20:18 +0000)]
Move vasprintf prototypes to stdio.

17 years agoUse multithread-safe primitives for determining the decimal point character.
Bruno Haible [Tue, 27 Mar 2007 20:11:59 +0000 (20:11 +0000)]
Use multithread-safe primitives for determining the decimal point character.

17 years agoSupport sub-second birthtime on cygwin.
Eric Blake [Tue, 27 Mar 2007 20:03:47 +0000 (20:03 +0000)]
Support sub-second birthtime on cygwin.
* m4/stat-time.m4 (gl_STAT_BIRTHTIME): Also check for st_birthtim.
* lib/stat-time.h (STAT_TIMESPEC): Adjust comments.
(get_stat_birthtime): Also work with st_birthtim.

17 years ago* lib/stat-time.h (USE_BIRTHTIME): Remove.
Paul Eggert [Tue, 27 Mar 2007 18:51:17 +0000 (18:51 +0000)]
* lib/stat-time.h (USE_BIRTHTIME): Remove.
(get_stat_atime_ns, get_stat_ctime_ns, get_stat_mtime_ns):
(get_stat_birthtime_ns): Do not try to use "spare" fields.
(get_stat_birthtime_ns): Simplify compile-time tests.
(get_stat_birthtime): Change the API to look like
get_stat_mtime etc., except return a negative tv_nsec on error.
* m4/stat-time.m4 (gl_STAT_TIME, gl_STAT_BIRTHTIME):
Don't check for "spare" fields.
(gl_STAT_BIRTHTIME): Don't check for struct stat.st_birthtimespec.tv_sec
or for struct stat.st_birthtime, as these tests aren't used.
* tests/test-stat-time.c (test_birthtime): Adjust to new API.

17 years agoFix signal handler.
Bruno Haible [Tue, 27 Mar 2007 16:53:53 +0000 (16:53 +0000)]
Fix signal handler.

17 years ago2007-03-27 Bruno Haible <bruno@clisp.org>
Bruno Haible [Tue, 27 Mar 2007 11:01:11 +0000 (11:01 +0000)]
2007-03-27  Bruno Haible  <bruno@clisp.org>
        * lib/stat-time.h: Include <sys/stat.h>.
2007-03-27  James Youngman  <jay@gnu.org>
        * lib/stat-time.h (get_stat_birthtime): New function for
          retrieving st_birthtime as provided by UFS2 (hence *BSD).
        * m4/stat-time.m4 (gl_STAT_BIRTHTIME): Probe for st_birthtime
          and its variants.
        * modules/stat-time (configure.ac): call gl_STAT_BIRTHTIME.
        * modules/stat-time-test: New file.
        * tests/test-stat-time.c: New test, devised by Bruno Haible.

17 years agoDepend on isnanl now.
Bruno Haible [Mon, 26 Mar 2007 22:27:16 +0000 (22:27 +0000)]
Depend on isnanl now.

17 years agoBetter support of signalling NaNs.
Bruno Haible [Mon, 26 Mar 2007 22:26:05 +0000 (22:26 +0000)]
Better support of signalling NaNs.

17 years agoNo tabs please.
Bruno Haible [Mon, 26 Mar 2007 20:59:46 +0000 (20:59 +0000)]
No tabs please.

17 years ago* m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): Fix
Eric Blake [Mon, 26 Mar 2007 18:25:16 +0000 (18:25 +0000)]
* m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): Fix
regression in logic sense of previous patch.

17 years ago* m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): Fix
Eric Blake [Mon, 26 Mar 2007 18:25:16 +0000 (18:25 +0000)]
* m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): Fix
regression in logic sense of previous patch.

17 years agoUpdate after utf8-ucs4-unsafe.h and utf16-ucs4-unsafe.h were removed.
Bruno Haible [Mon, 26 Mar 2007 11:20:01 +0000 (11:20 +0000)]
Update after utf8-ucs4-unsafe.h and utf16-ucs4-unsafe.h were removed.

17 years agoDon't use unportable shell statement.
Bruno Haible [Mon, 26 Mar 2007 10:24:24 +0000 (10:24 +0000)]
Don't use unportable shell statement.

17 years agoIf <sysexits.h> exists but is missing values, fill in the missing values.
Bruno Haible [Mon, 26 Mar 2007 10:16:08 +0000 (10:16 +0000)]
If <sysexits.h> exists but is missing values, fill in the missing values.

17 years agoDon't access hints->ai_flags when hints is NULL.
Bruno Haible [Mon, 26 Mar 2007 10:13:27 +0000 (10:13 +0000)]
Don't access hints->ai_flags when hints is NULL.

17 years agoAvoid compiler warnings.
Bruno Haible [Mon, 26 Mar 2007 10:10:44 +0000 (10:10 +0000)]
Avoid compiler warnings.

17 years agoPrefer nl_langinfo over localeconv.
Bruno Haible [Mon, 26 Mar 2007 02:15:46 +0000 (02:15 +0000)]
Prefer nl_langinfo over localeconv.

17 years agoAdd support for the SH CPU. Reported by Ben Pfaff.
Bruno Haible [Mon, 26 Mar 2007 00:28:46 +0000 (00:28 +0000)]
Add support for the SH CPU. Reported by Ben Pfaff.

17 years agoOops, typo in compiler option.
Bruno Haible [Mon, 26 Mar 2007 00:16:46 +0000 (00:16 +0000)]
Oops, typo in compiler option.

17 years agoSupport 'j' size specifier on all platforms.
Bruno Haible [Mon, 26 Mar 2007 00:14:00 +0000 (00:14 +0000)]
Support 'j' size specifier on all platforms.

17 years agoNew module 'fpieee'.
Bruno Haible [Sun, 25 Mar 2007 23:59:54 +0000 (23:59 +0000)]
New module 'fpieee'.

17 years agoAvoid the completely broken frexpl() function of AIX 5.1.
Bruno Haible [Sun, 25 Mar 2007 22:21:06 +0000 (22:21 +0000)]
Avoid the completely broken frexpl() function of AIX 5.1.

17 years agoAvoid test failures on IRIX MIPS.
Bruno Haible [Sun, 25 Mar 2007 21:46:38 +0000 (21:46 +0000)]
Avoid test failures on IRIX MIPS.

17 years agoProvide a replacement for frexpl() if the system has it but it doesn't work.
Bruno Haible [Sun, 25 Mar 2007 21:35:38 +0000 (21:35 +0000)]
Provide a replacement for frexpl() if the system has it but it doesn't work.

17 years agoCheck against a bug of frexp() on IRIX 6.5.
Bruno Haible [Sun, 25 Mar 2007 21:25:35 +0000 (21:25 +0000)]
Check against a bug of frexp() on IRIX 6.5.

17 years agoWork around IRIX 6.5 cc compiler bug, which simplifies x != x to false.
Bruno Haible [Sun, 25 Mar 2007 20:58:03 +0000 (20:58 +0000)]
Work around IRIX 6.5 cc compiler bug, which simplifies x != x to false.

17 years agoFix indentation.
Bruno Haible [Sun, 25 Mar 2007 20:36:17 +0000 (20:36 +0000)]
Fix indentation.

17 years agoWork around a DEC C compiler bug.
Bruno Haible [Sun, 25 Mar 2007 19:56:22 +0000 (19:56 +0000)]
Work around a DEC C compiler bug.

17 years agoWork around DEC C 6.4 compiler bug.
Bruno Haible [Sun, 25 Mar 2007 19:45:26 +0000 (19:45 +0000)]
Work around DEC C 6.4 compiler bug.

17 years agoMake sure 'struct stat' is defined before glob-libc.h uses it. Fixes a warning
Bruno Haible [Sun, 25 Mar 2007 19:36:17 +0000 (19:36 +0000)]
Make sure 'struct stat' is defined before glob-libc.h uses it. Fixes a warning
on AIX 5.1.

17 years agoAvoid HP-UX cc warning.
Bruno Haible [Sun, 25 Mar 2007 18:07:11 +0000 (18:07 +0000)]
Avoid HP-UX cc warning.

17 years agoAvoid HP-UX cc compiler warning.
Bruno Haible [Sun, 25 Mar 2007 18:03:15 +0000 (18:03 +0000)]
Avoid HP-UX cc compiler warning.

17 years agoAvoid compiler warning.
Bruno Haible [Sun, 25 Mar 2007 17:58:06 +0000 (17:58 +0000)]
Avoid compiler warning.

17 years agoAvoid circular definition restrict -> __restrict -> restrict on BeOS.
Bruno Haible [Sun, 25 Mar 2007 17:53:39 +0000 (17:53 +0000)]
Avoid circular definition restrict -> __restrict -> restrict on BeOS.

17 years agoEnsure rule action lines start with a tab.
Bruno Haible [Sun, 25 Mar 2007 15:34:55 +0000 (15:34 +0000)]
Ensure rule action lines start with a tab.

17 years agoOops, fix ANSI C syntax error introduced in last patch.
Bruno Haible [Sun, 25 Mar 2007 12:00:37 +0000 (12:00 +0000)]
Oops, fix ANSI C syntax error introduced in last patch.

17 years agoTests for module 'tsearch'.
Bruno Haible [Sun, 25 Mar 2007 02:48:08 +0000 (02:48 +0000)]
Tests for module 'tsearch'.

17 years agoTests for module 'search'.
Bruno Haible [Sun, 25 Mar 2007 02:46:43 +0000 (02:46 +0000)]
Tests for module 'search'.

17 years agoNew module 'search'.
Bruno Haible [Sun, 25 Mar 2007 02:45:24 +0000 (02:45 +0000)]
New module 'search'.

17 years agoNew module 'fpucw'.
Bruno Haible [Sun, 25 Mar 2007 02:29:46 +0000 (02:29 +0000)]
New module 'fpucw'.

17 years agoCorrect bitwise comparison of 'long double' numbers.
Bruno Haible [Sun, 25 Mar 2007 02:22:44 +0000 (02:22 +0000)]
Correct bitwise comparison of 'long double' numbers.

17 years agoCorrect bitwise comparison of 'long double' numbers.
Bruno Haible [Sun, 25 Mar 2007 01:11:49 +0000 (01:11 +0000)]
Correct bitwise comparison of 'long double' numbers.

17 years agoCorrect bitwise comparison of 'long double' numbers.
Bruno Haible [Sun, 25 Mar 2007 01:06:39 +0000 (01:06 +0000)]
Correct bitwise comparison of 'long double' numbers.

17 years agoSupport for bitwise comparison of floating-point numbers.
Bruno Haible [Sun, 25 Mar 2007 01:05:23 +0000 (01:05 +0000)]
Support for bitwise comparison of floating-point numbers.

17 years agoFix includes.
Bruno Haible [Sun, 25 Mar 2007 00:49:34 +0000 (00:49 +0000)]
Fix includes.

17 years agoProduce no output in expected situations. Fail in unexpected situations.
Bruno Haible [Sat, 24 Mar 2007 22:08:14 +0000 (22:08 +0000)]
Produce no output in expected situations. Fail in unexpected situations.

17 years agoemove the special-casing of NetBSD.
Bruno Haible [Sat, 24 Mar 2007 21:24:00 +0000 (21:24 +0000)]
emove the special-casing of NetBSD.

17 years agoFix last change.
Bruno Haible [Sat, 24 Mar 2007 17:05:49 +0000 (17:05 +0000)]
Fix last change.

17 years agoReorganize modules utf8-ucs4-unsafe, utf16-ucs4-unsafe, utf8-ucs4, utf16-ucs4,
Bruno Haible [Sat, 24 Mar 2007 14:55:28 +0000 (14:55 +0000)]
Reorganize modules utf8-ucs4-unsafe, utf16-ucs4-unsafe, utf8-ucs4, utf16-ucs4,
ucs4-utf8, ucs4-utf16.