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

17 years agoPrepare for creating module 'isnanl'.
Bruno Haible [Thu, 22 Mar 2007 02:00:05 +0000 (02:00 +0000)]
Prepare for creating module 'isnanl'.

17 years agoFix my last ChangeLog entry.
Bruno Haible [Wed, 21 Mar 2007 11:30:16 +0000 (11:30 +0000)]
Fix my last ChangeLog entry.

17 years agoWhen trying to open ".", treat ESTALE like EACCES.
Jim Meyering [Wed, 21 Mar 2007 08:07:20 +0000 (08:07 +0000)]
When trying to open ".", treat ESTALE like EACCES.
* lib/savewd.c (savewd_save): Resort to forking not just upon
failure with EACCES, but also when errno is ESTALE.

17 years agoEnable the strndup declaration also when strndup is replaced.
Bruno Haible [Wed, 21 Mar 2007 04:22:35 +0000 (04:22 +0000)]
Enable the strndup declaration also when strndup is replaced.

17 years agoSuggestions by Bruno Haible:
Paul Eggert [Tue, 20 Mar 2007 05:46:39 +0000 (05:46 +0000)]
Suggestions by Bruno Haible:
* lib/acl-internal.h: Include "gettext.h" rather than rolling
our own.
(ACL_NOT_WELL_SUPPORTED): Parenthesize arg when used.
* modules/acl (Depends-on): Add gettext.

17 years agoRemove module 'iconvme'.
Bruno Haible [Tue, 20 Mar 2007 00:35:56 +0000 (00:35 +0000)]
Remove module 'iconvme'.

17 years agoBreak long line.
Bruno Haible [Mon, 19 Mar 2007 23:29:43 +0000 (23:29 +0000)]
Break long line.

17 years agoAdd limited support for Solaris 10 ZFS-style ACLs: just enough to
Paul Eggert [Mon, 19 Mar 2007 21:58:57 +0000 (21:58 +0000)]
Add limited support for Solaris 10 ZFS-style ACLs: just enough to
handle file_has_acl.
* lib/acl-internal.h, lib/acl_entries.c, lib/file-has-acl.c: New files.
* lib/acl.c: Move header inclusions and related macro defns into
lib/acl-internal.h.
(S_ISLNK): Remove defn, since that's now done for us.
(file_has_acl): Move to lib/file-has-acl.c.
Call acl_trivial if available.  This is the crucial part of the fix.
(acl_entries): Move to lib/acl_entries.c.  Now extern, since it's
shared within the library.  Rewrite a bit, partly to make it compatible
with the GNU coding style.
* m4/acl.m4 (AC_FUNC_ACL): Add AC_LIBOBJ([file-has-acl]).
Remove unnecessary double-quotes.
Don't test for acl_to_text; the build will catch that.
Replace acl_entries if it doesn't exist and it is needed.
Check for -lsec and acl_trivial (as used on Solaris 10).
* modules/acl (Files): Add lib/acl-internal.h, lib/acl_entries.c,
lib/file-has-acl.c.
(Depends-on): Add sys_stat, for S_ISLNK.

17 years agoFix typos.
Ben Pfaff [Mon, 19 Mar 2007 20:30:25 +0000 (20:30 +0000)]
Fix typos.
Suggested by Thien-Thi Nguyen <ttn@gnuvola.org>.

17 years ago* lib/getcwd.c (__getcwd): Remove redundant comparison of buf to NULL.
Paul Eggert [Mon, 19 Mar 2007 17:30:07 +0000 (17:30 +0000)]
* lib/getcwd.c (__getcwd): Remove redundant comparison of buf to NULL.
If size is zero here, buf must be zero.

17 years ago2007-03-19 Simon Josefsson <simon@josefsson.org>
Simon Josefsson [Mon, 19 Mar 2007 10:07:27 +0000 (10:07 +0000)]
2007-03-19  Simon Josefsson  <simon@josefsson.org>

* des.c: Remove weak_keys_chksum.  Reported by Bruno Haible
<bruno@clisp.org>.

17 years agoUndo first part of last patch.
Bruno Haible [Mon, 19 Mar 2007 01:02:27 +0000 (01:02 +0000)]
Undo first part of last patch.

17 years agoRecommend using as prefix a directory that does not exist and will
Ben Pfaff [Sun, 18 Mar 2007 23:59:44 +0000 (23:59 +0000)]
Recommend using as prefix a directory that does not exist and will
never be created.  Based on discussion with Bruno Haible, Ralf
Wildenhues, Matthew Woehlke, and others.

17 years ago* lib/fchownat.c: Include lchown.h.
Jim Meyering [Sun, 18 Mar 2007 15:29:10 +0000 (15:29 +0000)]
* lib/fchownat.c: Include lchown.h.

2007-03-17  Bruno Haible  <bruno@clisp.org>

17 years agoautoupdate
Karl Berry [Sun, 18 Mar 2007 13:25:06 +0000 (13:25 +0000)]
autoupdate

17 years agoFix endless loop when the given allocated size was > INT_MAX.
Bruno Haible [Sun, 18 Mar 2007 00:31:50 +0000 (00:31 +0000)]
Fix endless loop when the given allocated size was > INT_MAX.

17 years agoProduce output that makes it easier to debug failures.
Bruno Haible [Sun, 18 Mar 2007 00:12:31 +0000 (00:12 +0000)]
Produce output that makes it easier to debug failures.

17 years agoWork around buggy locales in NetBSD 3.0.
Bruno Haible [Sun, 18 Mar 2007 00:03:06 +0000 (00:03 +0000)]
Work around buggy locales in NetBSD 3.0.

17 years agoFix a portability problem on x86.
Bruno Haible [Sat, 17 Mar 2007 20:07:01 +0000 (20:07 +0000)]
Fix a portability problem on x86.

17 years agoAvoid gcc warnings.
Bruno Haible [Sat, 17 Mar 2007 19:26:29 +0000 (19:26 +0000)]
Avoid gcc warnings.

17 years agoAvoid gcc warnings.
Bruno Haible [Sat, 17 Mar 2007 19:22:56 +0000 (19:22 +0000)]
Avoid gcc warnings.

17 years agoRemove unused variables.
Bruno Haible [Sat, 17 Mar 2007 19:20:48 +0000 (19:20 +0000)]
Remove unused variables.

17 years agoRemove unused variables.
Bruno Haible [Sat, 17 Mar 2007 19:08:13 +0000 (19:08 +0000)]
Remove unused variables.

17 years agoIncude c-strcase.h.
Bruno Haible [Sat, 17 Mar 2007 19:05:33 +0000 (19:05 +0000)]
Incude c-strcase.h.

17 years agoEnsure we get the mkstemp() declaration. On MacOS X, it comes from <unistd.h>.
Bruno Haible [Sat, 17 Mar 2007 19:02:51 +0000 (19:02 +0000)]
Ensure we get the mkstemp() declaration. On MacOS X, it comes from <unistd.h>.

17 years agoUpdate year.
Bruno Haible [Sat, 17 Mar 2007 18:41:38 +0000 (18:41 +0000)]
Update year.

17 years agoInclude <stdlib.h>, for malloc().
Bruno Haible [Sat, 17 Mar 2007 18:41:28 +0000 (18:41 +0000)]
Include <stdlib.h>, for malloc().

17 years agoInclude <stdlib>, for malloc().
Bruno Haible [Sat, 17 Mar 2007 18:40:48 +0000 (18:40 +0000)]
Include <stdlib>, for malloc().

17 years agoUndo last patch.
Bruno Haible [Sat, 17 Mar 2007 18:39:35 +0000 (18:39 +0000)]
Undo last patch.

17 years agoInclude <stdlib.h>, for malloc().
Bruno Haible [Sat, 17 Mar 2007 18:35:49 +0000 (18:35 +0000)]
Include <stdlib.h>, for malloc().

17 years agoautoupdate
Karl Berry [Sat, 17 Mar 2007 16:54:19 +0000 (16:54 +0000)]
autoupdate

17 years agoMention all modules affected by last change.
Bruno Haible [Sat, 17 Mar 2007 16:30:30 +0000 (16:30 +0000)]
Mention all modules affected by last change.

17 years agoUpdate .cvsignore and .gitignore files.
Bruno Haible [Sat, 17 Mar 2007 16:27:48 +0000 (16:27 +0000)]
Update .cvsignore and .gitignore files.

17 years ago* NEWS: Document stdlib change from 2007-02-18.
Eric Blake [Sat, 17 Mar 2007 13:54:35 +0000 (13:54 +0000)]
* NEWS: Document stdlib change from 2007-02-18.

17 years agoRemove, accidentally committed.
Simon Josefsson [Sat, 17 Mar 2007 12:12:19 +0000 (12:12 +0000)]
Remove, accidentally committed.

17 years ago*** empty log message ***
Simon Josefsson [Sat, 17 Mar 2007 12:11:35 +0000 (12:11 +0000)]
*** empty log message ***

17 years agoDiscuss strdup change.
Simon Josefsson [Sat, 17 Mar 2007 12:11:10 +0000 (12:11 +0000)]
Discuss strdup change.

17 years agofix syntax error in last change
Jim Meyering [Sat, 17 Mar 2007 12:04:04 +0000 (12:04 +0000)]
fix syntax error in last change

17 years agoDetect use of AC_CONFIG_AUX_DIR also when its argument is quoted.
Jim Meyering [Sat, 17 Mar 2007 11:52:47 +0000 (11:52 +0000)]
Detect use of AC_CONFIG_AUX_DIR also when its argument is quoted.
* build-aux/bootstrap: Put ""s around use of $build_aux, in case
someone uses a name containing shell meta-characters.
Reported by Alfred M. Szmidt.

17 years ago* build-aux/bootstrap: Don't use \> in grep regexp. For HP-UX.
Jim Meyering [Sat, 17 Mar 2007 08:58:43 +0000 (08:58 +0000)]
* build-aux/bootstrap: Don't use \> in grep regexp.  For HP-UX.

17 years ago* build-aux/bootstrap (with_gettext): New variable. Run autopoint
Jim Meyering [Fri, 16 Mar 2007 21:03:43 +0000 (21:03 +0000)]
* build-aux/bootstrap (with_gettext): New variable.  Run autopoint
and copy gettext configuration files only if configure.ac contains
a use of AM_GNU_GETTEXT_VERSION.

2007-03-16  Alfred M. Szmidt  <ams@gnu.org>

17 years ago* build-aux/bootstrap (gnulib_name): New variable.
Jim Meyering [Fri, 16 Mar 2007 20:22:58 +0000 (20:22 +0000)]
* build-aux/bootstrap (gnulib_name): New variable.
(gnulib_tool_options): Use it.

17 years agoUse new namespace.
Simon Josefsson [Fri, 16 Mar 2007 02:42:41 +0000 (02:42 +0000)]
Use new namespace.

17 years agoTry to avoid clashing symbols.
Bruno Haible [Fri, 16 Mar 2007 00:52:55 +0000 (00:52 +0000)]
Try to avoid clashing symbols.

17 years ago2007-03-15 Bruno Haible <bruno@clisp.org>
Bruno Haible [Fri, 16 Mar 2007 00:37:51 +0000 (00:37 +0000)]
2007-03-15  Bruno Haible  <bruno@clisp.org>
* lib/glob.c (glob): Add 'restrict' so that prototype matches the
declared prototype. Needed with cc on OSF/1 5.1.

17 years agoAllow the use of a destructor for the values stored in the list.
Bruno Haible [Fri, 16 Mar 2007 00:30:06 +0000 (00:30 +0000)]
Allow the use of a destructor for the values stored in the list.

17 years agoFix compilation error introduced in last commit.
Bruno Haible [Fri, 16 Mar 2007 00:01:29 +0000 (00:01 +0000)]
Fix compilation error introduced in last commit.

17 years agoAdd an element disposal function.
Bruno Haible [Thu, 15 Mar 2007 23:56:13 +0000 (23:56 +0000)]
Add an element disposal function.

17 years agoList of important user-visible changes.
Bruno Haible [Thu, 15 Mar 2007 23:40:59 +0000 (23:40 +0000)]
List of important user-visible changes.

17 years agoupdate from texinfo
Karl Berry [Thu, 15 Mar 2007 23:34:24 +0000 (23:34 +0000)]
update from texinfo

17 years ago* lib/quotearg.c: Include <wctype.h> early, before the definition of
Paul Eggert [Thu, 15 Mar 2007 22:58:36 +0000 (22:58 +0000)]
* lib/quotearg.c: Include <wctype.h> early, before the definition of
the iswprint macro. Needed on Solaris 2.5.1.

2007-03-12  Bruno Haible  <bruno@clisp.org>

* tests/test-printf-frexp.c (main): Declare x as volatile.

2007-03-12  Simon Josefsson  <simon@josefsson.org>

* doc/gnulib.texi (Build robot for gnulib): New section.

2007-03-12  Jim Meyering  <jim@meyering.net>

* build-aux/bootstrap: New file.
* build-aux/bootstrap.conf: New file, from coreutils.

2007-03-11  Bruno Haible  <bruno@clisp.org>

* m4/cycle-check.m4 (gl_CYCLE_CHECK): Require AC_C_INLINE.

2007-03-12  Simon Josefsson  <simon@josefsson.org>

* lib/des.h, lib/des.c, lib/gc-gnulib.c: Use gl_ namespace, to
avoid collisions with 'des_setkey'.  Reported by Bruno Haible
<bruno@clisp.org>.  Also change 'tripledes_' to '3des_'.

2007-03-11  Bruno Haible  <bruno@clisp.org>

* m4/locale-tr.m4 (gt_LOCALE_TR_UTF8): If the test program fails to
compile, set LOCALE_TR_UTF8 to 'none' instead of empty.

2007-03-11  Bruno Haible  <bruno@clisp.org>

* lib/stdint_.h (INT64_MIN, INTMAX_MIN): Avoid using the ~INT..._MAX
formula. Needed for SunPRO C 5.0.

17 years agoRequest a "make distclean" after successful "make check", to save disk space.
Bruno Haible [Mon, 12 Mar 2007 00:48:31 +0000 (00:48 +0000)]
Request a "make distclean" after successful "make check", to save disk space.

17 years ago* modules/long-options (Depends-on): Add getopt.
Bruno Haible [Sun, 11 Mar 2007 23:32:06 +0000 (23:32 +0000)]
* modules/long-options (Depends-on): Add getopt.

17 years ago* modules/modechange (Depends-on): Add stdbool.
Bruno Haible [Sun, 11 Mar 2007 23:28:00 +0000 (23:28 +0000)]
* modules/modechange (Depends-on): Add stdbool.

17 years ago* modules/i-ring (Depends-on): Add stdbool.
Bruno Haible [Sun, 11 Mar 2007 23:24:19 +0000 (23:24 +0000)]
* modules/i-ring (Depends-on): Add stdbool.

17 years agoDepend on stdbool.
Bruno Haible [Sun, 11 Mar 2007 23:19:47 +0000 (23:19 +0000)]
Depend on stdbool.

17 years agomktime.c requires 'inline'.
Bruno Haible [Sun, 11 Mar 2007 23:14:58 +0000 (23:14 +0000)]
mktime.c requires 'inline'.

17 years agoRequire 'restrict'.
Bruno Haible [Sun, 11 Mar 2007 23:09:09 +0000 (23:09 +0000)]
Require 'restrict'.

17 years agoFix syntax error.
Bruno Haible [Sun, 11 Mar 2007 22:58:33 +0000 (22:58 +0000)]
Fix syntax error.

17 years agoUse the system's sprintf function.
Bruno Haible [Sun, 11 Mar 2007 22:55:55 +0000 (22:55 +0000)]
Use the system's sprintf function.

17 years agoWork around bug regarding initializers in SunPRO C and Compaq C compilers.
Bruno Haible [Sun, 11 Mar 2007 22:40:52 +0000 (22:40 +0000)]
Work around bug regarding initializers in SunPRO C and Compaq C compilers.

17 years agoMake pointer decrementing code ANSI C compliant.
Bruno Haible [Sun, 11 Mar 2007 22:34:33 +0000 (22:34 +0000)]
Make pointer decrementing code ANSI C compliant.

17 years agoAvoid error with SunPRO C 5.0 on Solaris 2.5.1.
Bruno Haible [Sun, 11 Mar 2007 22:28:43 +0000 (22:28 +0000)]
Avoid error with SunPRO C 5.0 on Solaris 2.5.1.

17 years agoAvoid test failures.
Bruno Haible [Sun, 11 Mar 2007 22:19:18 +0000 (22:19 +0000)]
Avoid test failures.

17 years agoAvoid using sed -e "", not supported by AIX sed.
Bruno Haible [Sun, 11 Mar 2007 22:16:19 +0000 (22:16 +0000)]
Avoid using sed -e "", not supported by AIX sed.
Add optional CONFIGURE_OPTIONS variable.

17 years agoStart the autobuild script with /bin/sh.
Bruno Haible [Sun, 11 Mar 2007 22:11:22 +0000 (22:11 +0000)]
Start the autobuild script with /bin/sh.

17 years agoAvoid an endless recursion.
Bruno Haible [Sun, 11 Mar 2007 12:05:24 +0000 (12:05 +0000)]
Avoid an endless recursion.

17 years agoCreate also an autobuild script.
Bruno Haible [Sun, 11 Mar 2007 12:03:51 +0000 (12:03 +0000)]
Create also an autobuild script.

17 years agoTests for module 'canonicalize-lgpl'.
Bruno Haible [Sun, 11 Mar 2007 00:55:27 +0000 (00:55 +0000)]
Tests for module 'canonicalize-lgpl'.

17 years agoTests for module 'c-strcase'.
Bruno Haible [Sun, 11 Mar 2007 00:54:21 +0000 (00:54 +0000)]
Tests for module 'c-strcase'.

17 years agoTests for module 'atexit'.
Bruno Haible [Sun, 11 Mar 2007 00:53:00 +0000 (00:53 +0000)]
Tests for module 'atexit'.