gnulib.git
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.

17 years agoRename some source files.
Bruno Haible [Sat, 24 Mar 2007 14:30:33 +0000 (14:30 +0000)]
Rename some source files.

17 years agoEnable the function only if HAVE_INLINE.
Bruno Haible [Sat, 24 Mar 2007 14:29:56 +0000 (14:29 +0000)]
Enable the function only if HAVE_INLINE.

17 years agoMove to u16-uctomb-aux.c.
Bruno Haible [Sat, 24 Mar 2007 14:25:51 +0000 (14:25 +0000)]
Move to u16-uctomb-aux.c.

17 years agoMove to here from ucs4-utf16.c.
Bruno Haible [Sat, 24 Mar 2007 14:25:48 +0000 (14:25 +0000)]
Move to here from ucs4-utf16.c.

17 years agoMove to u8-uctomb-aux.c.
Bruno Haible [Sat, 24 Mar 2007 14:25:40 +0000 (14:25 +0000)]
Move to u8-uctomb-aux.c.

17 years agoMove to here from ucs4-utf8.c.
Bruno Haible [Sat, 24 Mar 2007 14:25:37 +0000 (14:25 +0000)]
Move to here from ucs4-utf8.c.

17 years agoMove to u16-mbtouc-unsafe-aux.c.
Bruno Haible [Sat, 24 Mar 2007 14:25:30 +0000 (14:25 +0000)]
Move to u16-mbtouc-unsafe-aux.c.

17 years agoMove to here from utf16-ucs4-unsafe.c.
Bruno Haible [Sat, 24 Mar 2007 14:25:28 +0000 (14:25 +0000)]
Move to here from utf16-ucs4-unsafe.c.

17 years agoMove to u16-mbtouc-aux.c.
Bruno Haible [Sat, 24 Mar 2007 14:25:17 +0000 (14:25 +0000)]
Move to u16-mbtouc-aux.c.

17 years agoMove to here from utf16-ucs4.c.
Bruno Haible [Sat, 24 Mar 2007 14:25:14 +0000 (14:25 +0000)]
Move to here from utf16-ucs4.c.

17 years agoMove to u8-mbtouc-unsafe-aux.c.
Bruno Haible [Sat, 24 Mar 2007 14:25:03 +0000 (14:25 +0000)]
Move to u8-mbtouc-unsafe-aux.c.

17 years agoMove to here from utf8-ucs4-unsafe.c.
Bruno Haible [Sat, 24 Mar 2007 14:25:00 +0000 (14:25 +0000)]
Move to here from utf8-ucs4-unsafe.c.

17 years agoMove to u8-mbtouc-aux.c.
Bruno Haible [Sat, 24 Mar 2007 14:24:44 +0000 (14:24 +0000)]
Move to u8-mbtouc-aux.c.

17 years agoMove to here from utf8-ucs4.c.
Bruno Haible [Sat, 24 Mar 2007 14:24:41 +0000 (14:24 +0000)]
Move to here from utf8-ucs4.c.

17 years agoDrop the include files utf8-ucs4.h, utf8-ucs4-unsafe.h, utf16-ucs4.h,
Bruno Haible [Sat, 24 Mar 2007 14:11:25 +0000 (14:11 +0000)]
Drop the include files utf8-ucs4.h, utf8-ucs4-unsafe.h, utf16-ucs4.h,
utf16-ucs4-unsafe.h, ucs4-utf8.h, ucs4-utf16.h. Use unistr.h instead.

17 years agoCast the argument of <ctype.h> functions to 'unsigned char'.
Bruno Haible [Sat, 24 Mar 2007 11:23:08 +0000 (11:23 +0000)]
Cast the argument of <ctype.h> functions to 'unsigned char'.

17 years agoStick to ANSI C syntax, not C99 syntax.
Bruno Haible [Sat, 24 Mar 2007 00:10:32 +0000 (00:10 +0000)]
Stick to ANSI C syntax, not C99 syntax.

17 years ago* MODULES.html.sh (File system functions): New module write-any-file.
Paul Eggert [Fri, 23 Mar 2007 17:33:07 +0000 (17:33 +0000)]
* MODULES.html.sh (File system functions): New module write-any-file.
* modules/write-any-file, lib/write-any-file.c, lib/write-any-file.h:
* m4/write-any-file.m4: New files.

17 years ago* gnulib-tool: Rearrange space-tab sequences, since some editors
Eric Blake [Fri, 23 Mar 2007 13:11:28 +0000 (13:11 +0000)]
* gnulib-tool: Rearrange space-tab sequences, since some editors
like to eat them.

17 years ago* lib/version-etc.c (version_etc_va): Update license wording to
Eric Blake [Fri, 23 Mar 2007 12:37:17 +0000 (12:37 +0000)]
* lib/version-etc.c (version_etc_va): Update license wording to
be more concise.  Recommended by Richard Stallman.

17 years agoOops, fix typo in last patch.
Bruno Haible [Fri, 23 Mar 2007 03:06:51 +0000 (03:06 +0000)]
Oops, fix typo in last patch.

17 years agoFix compilation error on BeOS.
Bruno Haible [Fri, 23 Mar 2007 02:12:53 +0000 (02:12 +0000)]
Fix compilation error on BeOS.

17 years agoFix a compilation error on BeOS.
Bruno Haible [Fri, 23 Mar 2007 02:08:42 +0000 (02:08 +0000)]
Fix a compilation error on BeOS.

17 years agoTests for module 'frexpl'.
Bruno Haible [Fri, 23 Mar 2007 01:27:57 +0000 (01:27 +0000)]
Tests for module 'frexpl'.

17 years agoNew module 'frexpl'.
Bruno Haible [Fri, 23 Mar 2007 01:26:24 +0000 (01:26 +0000)]
New module 'frexpl'.

17 years agoMerge the frexpl and frexp implementations into a single code.
Bruno Haible [Thu, 22 Mar 2007 12:24:07 +0000 (12:24 +0000)]
Merge the frexpl and frexp implementations into a single code.

17 years agoDon't use the system's frexp() if it does not work (example: NetBSD 3.0).
Bruno Haible [Thu, 22 Mar 2007 11:59:06 +0000 (11:59 +0000)]
Don't use the system's frexp() if it does not work (example: NetBSD 3.0).

17 years agoRemove Paolo's variant of the algorithm, with his permission.
Bruno Haible [Thu, 22 Mar 2007 11:52:34 +0000 (11:52 +0000)]
Remove Paolo's variant of the algorithm, with his permission.

17 years agoOops, don't use 'long double' here.
Bruno Haible [Thu, 22 Mar 2007 11:35:12 +0000 (11:35 +0000)]
Oops, don't use 'long double' here.

17 years agoTests for module 'frexp'.
Bruno Haible [Thu, 22 Mar 2007 04:02:05 +0000 (04:02 +0000)]
Tests for module 'frexp'.

17 years agoNew module 'frexp'.
Bruno Haible [Thu, 22 Mar 2007 03:59:38 +0000 (03:59 +0000)]
New module 'frexp'.

17 years agoOops.
Bruno Haible [Thu, 22 Mar 2007 02:32:29 +0000 (02:32 +0000)]
Oops.

17 years agoTests for module 'isnanl'.
Bruno Haible [Thu, 22 Mar 2007 02:19:08 +0000 (02:19 +0000)]
Tests for module 'isnanl'.

17 years agoNew module 'isnanl'.
Bruno Haible [Thu, 22 Mar 2007 02:18:35 +0000 (02:18 +0000)]
New module 'isnanl'.

17 years agoisnanl.h was renamed to isnanl-nolibm.h.
Bruno Haible [Thu, 22 Mar 2007 02:04:01 +0000 (02:04 +0000)]
isnanl.h was renamed to isnanl-nolibm.h.

17 years agoSplit test-isnanl.c into test-isnanl-nolibm.c and test-isnanl.h.
Bruno Haible [Thu, 22 Mar 2007 02:02:42 +0000 (02:02 +0000)]
Split test-isnanl.c into test-isnanl-nolibm.c and test-isnanl.h.

17 years agoMove to isnanl-nolibm.h.
Bruno Haible [Thu, 22 Mar 2007 02:00:49 +0000 (02:00 +0000)]
Move to isnanl-nolibm.h.

17 years agoMove to here from isnanl.h.
Bruno Haible [Thu, 22 Mar 2007 02:00:46 +0000 (02:00 +0000)]
Move to here from isnanl.h.