gnulib.git
17 years ago* lib/regex_internal.c (re_string_reconstruct): Handle
Paul Eggert [Thu, 21 Sep 2006 05:25:11 +0000 (05:25 +0000)]
* lib/regex_internal.c (re_string_reconstruct): Handle
offset < pstr->valid_raw_len && pstr->offsets_needed case.
Ensure no bytes read before raw_mbs array.  Pass a saved copy of
pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to
re_string_context_at.
* m4/regex.m4 (gl_REGEX): Check for locale.h, since the test
now requires it.
(gl_PREREQ_REGEX): Don't check for locale.h any more, since
gl_REGEX now does it for us.
(gl_REGEX): Add test taken from
http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html.

17 years ago* modules/mkstemp (Files): Add mkstemp.h.
Paul Eggert [Wed, 20 Sep 2006 22:32:39 +0000 (22:32 +0000)]
* modules/mkstemp (Files): Add mkstemp.h.

17 years agoMerge from glibc.
Bruno Haible [Wed, 20 Sep 2006 20:18:02 +0000 (20:18 +0000)]
Merge from glibc.

17 years ago* mkstemp-safer.c: Include "mkstemp.h" instead of <stdlib.h>.
Paul Eggert [Wed, 20 Sep 2006 20:16:48 +0000 (20:16 +0000)]
* mkstemp-safer.c: Include "mkstemp.h" instead of <stdlib.h>.

17 years ago* mkstemp-safer.c: Include "mkstemp.h".
Paul Eggert [Wed, 20 Sep 2006 20:14:40 +0000 (20:14 +0000)]
* mkstemp-safer.c: Include "mkstemp.h".
(mkstemp): Remove, since mkstemp.h does this for us.

17 years agoChange mkstemp Include: section to refer to "mkstemp.h".
Paul Eggert [Wed, 20 Sep 2006 18:48:29 +0000 (18:48 +0000)]
Change mkstemp Include: section to refer to "mkstemp.h".

17 years ago[ChangeLog]
Paul Eggert [Wed, 20 Sep 2006 18:44:04 +0000 (18:44 +0000)]
[ChangeLog]
* modules/mkstemp (Depends-on): Add extensions, so that
mkstemp is visible on some platforms.
(Makefile.am): Add mkstemp.h to EXTRA_DIST.
[lib/ChangeLog]
* mkstemp.h: New file, since some standard headers
#define mkstemp.
* mkstemp.c: Revamp to put the !_LIBC code together.
Include "mkstemp.h".
Make the _LIBC code resemble glibc original more,
e.g., use K&R style.
* stdlib--.h: Include mkstemp.h.
[m4/ChangeLog]
* mkstemp.m4 (gl_FUNC_MKSTEMP): Require AC_SYS_LARGEFILE.
Check that large offsets work.  Modernize Autoconf usages.
Prefer "yes" to mean a good thing rather than a bad.
Don't put "#define mkstemp" in config.h, as this might interfere
with standard system headers that "#define mkstemp mkstemp64".

17 years ago* tempname.c (__gen_tempname): Change attempts_min
Paul Eggert [Wed, 20 Sep 2006 18:38:14 +0000 (18:38 +0000)]
* tempname.c (__gen_tempname): Change attempts_min
into a macro.  Use preprocessor to decide how to initialize
attempts [Coverity CID 67].

17 years agomissed commit.
Karl Berry [Wed, 20 Sep 2006 12:28:22 +0000 (12:28 +0000)]
missed commit.

17 years ago* gnulib-tool: Avoid space-tab.
Eric Blake [Tue, 19 Sep 2006 14:07:28 +0000 (14:07 +0000)]
* gnulib-tool: Avoid space-tab.

17 years agonote about the license texinfo files
Karl Berry [Tue, 19 Sep 2006 13:42:41 +0000 (13:42 +0000)]
note about the license texinfo files

17 years ago.
Karl Berry [Tue, 19 Sep 2006 07:46:17 +0000 (07:46 +0000)]
.

17 years ago* gnulib-tool (func_exit): New function, to allow to pass the
Ralf Wildenhues [Tue, 19 Sep 2006 06:03:01 +0000 (06:03 +0000)]
* gnulib-tool (func_exit): New function, to allow to pass the
exit status portably through the trap.  Use everywhere.
(--help, --version): Signal a write error.
(trap): catch SIGPIPE, for write errors.
Exit at the end of the trap, with the correct exit status.

17 years agoUse configmake.
Bruno Haible [Mon, 18 Sep 2006 20:17:52 +0000 (20:17 +0000)]
Use configmake.

17 years agoRemove inttypes-h.m4 and its gl_HEADER_INTTYES_H macro.
Bruno Haible [Mon, 18 Sep 2006 19:23:59 +0000 (19:23 +0000)]
Remove inttypes-h.m4 and its gl_HEADER_INTTYES_H macro.

17 years ago* getaddrinfo.c (getaddrinfo) [defined HAVE_IPV6]: Fix typo
Paul Eggert [Mon, 18 Sep 2006 18:07:04 +0000 (18:07 +0000)]
* getaddrinfo.c (getaddrinfo) [defined HAVE_IPV6]: Fix typo
that prevented coreutils 6.1 from building.  Problem reported
by Petter Reinholdtsen.

17 years ago* inttypes.m4 (gl_INTTYPES_H): Quote "test" args
Paul Eggert [Mon, 18 Sep 2006 17:45:51 +0000 (17:45 +0000)]
* inttypes.m4 (gl_INTTYPES_H): Quote "test" args
more systematically.

17 years ago* gnulib-tool (avoidlist): Fix typo that broke options like
Paul Eggert [Mon, 18 Sep 2006 17:03:47 +0000 (17:03 +0000)]
* gnulib-tool (avoidlist): Fix typo that broke options like
--avoid=lock that are used by coreutils bootstrap.

17 years agoAvoid to execute while loops in a subshell.
Bruno Haible [Mon, 18 Sep 2006 15:14:26 +0000 (15:14 +0000)]
Avoid to execute while loops in a subshell.

17 years agoBreak long lines.
Bruno Haible [Mon, 18 Sep 2006 13:47:29 +0000 (13:47 +0000)]
Break long lines.

17 years agoUse the configmake module.
Bruno Haible [Mon, 18 Sep 2006 13:08:56 +0000 (13:08 +0000)]
Use the configmake module.

17 years agoAvoid quadratic complexity due to string concatenations.
Bruno Haible [Mon, 18 Sep 2006 13:07:37 +0000 (13:07 +0000)]
Avoid quadratic complexity due to string concatenations.

17 years agoSpeed up presentation of the include files.
Bruno Haible [Mon, 18 Sep 2006 13:04:17 +0000 (13:04 +0000)]
Speed up presentation of the include files.

17 years agoRewrite all file names at once.
Bruno Haible [Mon, 18 Sep 2006 13:03:14 +0000 (13:03 +0000)]
Rewrite all file names at once.

17 years agoSpeed up func_modules_transitive_closure.
Bruno Haible [Mon, 18 Sep 2006 12:55:35 +0000 (12:55 +0000)]
Speed up func_modules_transitive_closure.

17 years agoUse "sort -u" where it makes sense.
Bruno Haible [Mon, 18 Sep 2006 12:54:13 +0000 (12:54 +0000)]
Use "sort -u" where it makes sense.

17 years ago.
Karl Berry [Mon, 18 Sep 2006 07:47:24 +0000 (07:47 +0000)]
.

17 years ago* savewd.c (savewd_restore): Don't shadow: s/status/child_status/.
Jim Meyering [Mon, 18 Sep 2006 06:47:32 +0000 (06:47 +0000)]
* savewd.c (savewd_restore): Don't shadow: s/status/child_status/.

17 years agofix typo in comment
Jim Meyering [Mon, 18 Sep 2006 06:28:56 +0000 (06:28 +0000)]
fix typo in comment

17 years agoInitial revision.
Paul Eggert [Mon, 18 Sep 2006 03:31:18 +0000 (03:31 +0000)]
Initial revision.

17 years agoautoupdate
Karl Berry [Sun, 17 Sep 2006 21:59:27 +0000 (21:59 +0000)]
autoupdate

17 years ago.
Karl Berry [Sun, 17 Sep 2006 07:41:04 +0000 (07:41 +0000)]
.

17 years ago* lib/dirchownmod.c: Don't include fcntl.h; no longer needed.
Paul Eggert [Sat, 16 Sep 2006 19:58:25 +0000 (19:58 +0000)]
* lib/dirchownmod.c: Don't include fcntl.h; no longer needed.
(dirchownmod): New arg FD.  All callers changed.
Use FD rather than opening the directory ourself, as opening is
now the caller's responsibility.
* lib/dirchownmod.h: Likewise.
* lib/mkancesdirs.c: Include <sys/types.h>, for portability to older
hosts that require <sys/types.h> before <sys/stat.h>.  Include
fcntl.h, savewd.h, and unistd.h, not dirname.h and stat-macros.h.
(test_dir): Remove.
(mkancesdirs): Return length of prefix of FILE that has already
been made, or -2 if there is a child doing the work.  Redo
algorithm so that it is O(N) rather than O(N**2).  Optimize away
".", and treat ".." specially since it might stray back into
already-created areas.  Use a subprocess if necessary.  New arg
WD; all users changed.  MAKE_DIR function should now return 1
if it creates a directory that is not readable.  Return -2 if
a child process is spun off.
* lib/mkancesdirs.h: Include <stddef.h>, for ptrdiff_t.
Adjust signature to match code.
* lib/mkdir-p.c: Include dirname.h, for IS_ABSOLUTE_FILE_NAME.
(make_dir_parents): Use a subprocess if necessary.  New arg WD;
all users changed.
* lib/savewd.c, lib/savewd.h: New files.
* m4/savewd.m4: New file.
* modules/mkancesdirs (Depends-on): Add fcntl.
* modules/savewd: New file.
* MODULES.html.sh (File system functions): Add savewd.

17 years agotexinfo tweaks to licenses
Karl Berry [Sat, 16 Sep 2006 14:04:29 +0000 (14:04 +0000)]
texinfo tweaks to licenses

17 years ago.
Karl Berry [Sat, 16 Sep 2006 07:40:41 +0000 (07:40 +0000)]
.

17 years ago* modules/configmake (Makefile.am): Add support for the
Paul Eggert [Fri, 15 Sep 2006 18:54:47 +0000 (18:54 +0000)]
* modules/configmake (Makefile.am): Add support for the
Automake-supplied PKGLIBDIR, PKGINCLUDEDIR, PKGDATADIR.

17 years ago* rename-dest-slash.c (has_trailing_slash): Use
Jim Meyering [Fri, 15 Sep 2006 18:48:09 +0000 (18:48 +0000)]
* rename-dest-slash.c (has_trailing_slash): Use
FILE_SYSTEM_PREFIX_LEN, for non-POSIX systems.
(rpl_rename_dest_slash): Perform the cheaper trailing slash
test before testing whether SRC is a directory.
Suggestions from Bruno Haible.

17 years agoAvoid a warning about an unused variable.
Jim Meyering [Fri, 15 Sep 2006 16:41:43 +0000 (16:41 +0000)]
Avoid a warning about an unused variable.
* regex_internal.c (re_dfa_add_node): Move declaration of "type"
into the #ifdef block where it's used.

17 years ago[ChangeLog]
Jim Meyering [Fri, 15 Sep 2006 13:49:12 +0000 (13:49 +0000)]
[ChangeLog]
* modules/rename-dest-slash: New module.
* MODULES.html.sh (posix_compat): Add it here.
[lib/ChangeLog]
* rename-dest-slash.c: New file.
[m4/ChangeLog]
* rename-dest-slash.m4 (gl_FUNC_RENAME_TRAILING_DEST_SLASH): New file.

17 years ago[ChangeLog]
Jim Meyering [Fri, 15 Sep 2006 10:36:51 +0000 (10:36 +0000)]
[ChangeLog]
* modules/rename: Reflect vb_FUNC_RENAME -> gl_FUNC_RENAME change.
[m4/ChangeLog]
* rename.m4 (gl_FUNC_RENAME): Rename from vb_FUNC_RENAME.

17 years agoInclude <config.h> unconditionally.
Bruno Haible [Thu, 14 Sep 2006 14:18:36 +0000 (14:18 +0000)]
Include <config.h> unconditionally.

17 years ago* getopt.c: Fix typo in last commit.
Eric Blake [Thu, 14 Sep 2006 00:53:04 +0000 (00:53 +0000)]
* getopt.c: Fix typo in last commit.

17 years ago* _fpending.c: Include <config.h> unconditionally, since we no
Paul Eggert [Wed, 13 Sep 2006 22:38:14 +0000 (22:38 +0000)]
* _fpending.c: Include <config.h> unconditionally, since we no
longer worry about uses that don't define HAVE_CONFIG_H.
* acl.c, alloca.c, argmatch.c, atexit.c, backupfile.c:
* basename.c, c-stack.c, c-strtod.c, calloc.c, canon-host.c:
* canonicalize.c, chdir-long.c, chdir-safer.c, chown.c:
* cloexec.c, close-stream.c, closeout.c, creat-safer.c:
* cycle-check.c, diacrit.c, dirchownmod.c, dirfd.c, dirname.c:
* dup-safer.c, dup2.c, error.c, euidaccess.c, exclude.c:
* exitfail.c, fchmodat.c, fchown-stub.c, fd-safer.c:
* file-type.c, fileblocks.c, filemode.c, filenamecat.c:
* fnmatch.c, fopen-safer.c, fprintftime.c, free.c, fsusage.c:
* ftruncate.c, fts-cycle.c, fts.c, full-write.c, gai_strerror.c:
* getcwd.c, getdate.y, getdomainname.c, getgroups.c:
* gethostname.c, gethrxtime.c, getloadavg.c, getlogin_r.c:
* getndelim2.c, getnline.c, getopt.c, getopt1.c, getpass.c:
* gettime.c, gettimeofday.c, getugroups.c, getusershell.c:
* glob.c, group-member.c, hard-locale.c, hash-pjw.c, hash.c:
* human.c, idcache.c, inet_ntop.c, inet_pton.c, inttostr.c:
* isdir.c, lchown.c, linebuffer.c, long-options.c, lstat.c:
* malloc.c, md5.c, memcasecmp.c, memchr.c, memcmp.c, memcoll.c:
* memcpy.c, memmove.c, memrchr.c, mkancesdirs.c, mkdir-p.c:
* mkdir.c, mkdirat.c, mkstemp-safer.c, mkstemp.c, modechange.c:
* mountlist.c, nanosleep.c, obstack.c, open-safer.c:
* openat-die.c, openat.c, pagealign_alloc.c, physmem.c:
* pipe-safer.c, posixtm.c, posixver.c, putenv.c, quote.c:
* quotearg.c, raise.c, readtokens.c, readtokens0.c, readutmp.c:
* realloc.c, regex.c, rename.c, rmdir.c, rpmatch.c, safe-read.c:
* same.c, save-cwd.c, savedir.c, setenv.c, settime.c, sha1.c:
* sig2str.c, snprintf.c, strdup.c, strerror.c, strftime.c:
* stripslash.c, strndup.c, strnlen.c, strpbrk.c, strtod.c:
* strtoimax.c, strtol.c, strverscmp.c, tempname.c, time_r.c:
* timegm.c, tmpfile-safer.c, unlinkdir.c, userspec.c, utime.c:
* utimecmp.c, utimens.c, version-etc-fsf.c, version-etc.c:
* xalloc-die.c, xgetcwd.c, xgethostname.c, xmalloc.c:
* xmemcoll.c, xnanosleep.c, xreadlink.c, xstrtod.c:
* xstrtoimax.c, xstrtol.c, xstrtoumax.c, yesno.c:
Likewise.

17 years agoLog the Sep 9 change.
Paul Eggert [Wed, 13 Sep 2006 21:19:34 +0000 (21:19 +0000)]
Log the Sep 9 change.

17 years ago* getdate.m4: Don't AC_LIBOBJ([getdate]), automake takes care of
Paul Eggert [Wed, 13 Sep 2006 20:14:57 +0000 (20:14 +0000)]
* getdate.m4: Don't AC_LIBOBJ([getdate]), automake takes care of
that internally.

17 years agoTweak for automake.
Bruno Haible [Wed, 13 Sep 2006 15:00:47 +0000 (15:00 +0000)]
Tweak for automake.

17 years ago* nanosleep.c: Include <sys/types.h> before sys/select.h, to avoid
Jim Meyering [Tue, 12 Sep 2006 10:13:20 +0000 (10:13 +0000)]
* nanosleep.c: Include <sys/types.h> before sys/select.h, to avoid
compilation failure (due to use of pid_t in latter) on NetBSD 1.6.
Reported by Nelson H. F. Beebe.

17 years agoUpdate
Sergey Poznyakoff [Tue, 12 Sep 2006 09:07:17 +0000 (09:07 +0000)]
Update

17 years ago(argp_doc): Make sure NULL is not passed to dgettext
Sergey Poznyakoff [Tue, 12 Sep 2006 09:06:40 +0000 (09:06 +0000)]
(argp_doc): Make sure NULL is not passed to dgettext

17 years ago.
Karl Berry [Tue, 12 Sep 2006 07:39:56 +0000 (07:39 +0000)]
.

17 years agoautoupdate
Karl Berry [Mon, 11 Sep 2006 12:56:50 +0000 (12:56 +0000)]
autoupdate

17 years agomkdtemp can now use the full <inttypes.h>.
Bruno Haible [Mon, 11 Sep 2006 12:35:15 +0000 (12:35 +0000)]
mkdtemp can now use the full <inttypes.h>.

17 years agoFix docstrings
Sergey Poznyakoff [Sun, 10 Sep 2006 11:52:44 +0000 (11:52 +0000)]
Fix docstrings

17 years agoUpdate
Sergey Poznyakoff [Sun, 10 Sep 2006 11:52:24 +0000 (11:52 +0000)]
Update

17 years agoMove declarations of program_invocation_name and program_invocation_short_name to...
Sergey Poznyakoff [Sun, 10 Sep 2006 11:51:42 +0000 (11:51 +0000)]
Move declarations of program_invocation_name and program_invocation_short_name to argp.h, so they are visible to user programs.

17 years ago(__argp_parse) [!_LIBC]: Make sure program_invocation_name and program_invocation_sho...
Sergey Poznyakoff [Sun, 10 Sep 2006 11:49:28 +0000 (11:49 +0000)]
(__argp_parse) [!_LIBC]: Make sure program_invocation_name and program_invocation_short_name are initialized.

17 years ago.
Karl Berry [Sun, 10 Sep 2006 07:40:00 +0000 (07:40 +0000)]
.

17 years agoUndo latest change, since the fix was propagated into glibc.
Paul Eggert [Sat, 9 Sep 2006 19:28:14 +0000 (19:28 +0000)]
Undo latest change, since the fix was propagated into glibc.

17 years agoFor libraries not built with libtool:
Bruno Haible [Sat, 9 Sep 2006 19:02:08 +0000 (19:02 +0000)]
For libraries not built with libtool:
  - Fix the _LDFLAGS issue.
  - Generate _LIBDEPS and _LTLIBDEPS variables.

17 years agoUpdate
Sergey Poznyakoff [Sat, 9 Sep 2006 17:28:21 +0000 (17:28 +0000)]
Update

17 years ago(struct argp_option): Document the use of N_() wrappers.
Sergey Poznyakoff [Sat, 9 Sep 2006 17:27:59 +0000 (17:27 +0000)]
(struct argp_option): Document the use of N_() wrappers.

17 years agoUpdate
Sergey Poznyakoff [Sat, 9 Sep 2006 15:58:58 +0000 (15:58 +0000)]
Update

17 years ago(struct argp): Document the N_("..") "\v" N_("..") convention. Text proposed by...
Sergey Poznyakoff [Sat, 9 Sep 2006 15:58:47 +0000 (15:58 +0000)]
(struct argp): Document the N_("..") "\v" N_("..")  convention.  Text proposed by Bruno Haible.

17 years ago.
Karl Berry [Sat, 9 Sep 2006 07:40:53 +0000 (07:40 +0000)]
.

17 years agoMake sure the string is always translated
Sergey Poznyakoff [Sat, 9 Sep 2006 05:38:06 +0000 (05:38 +0000)]
Make sure the string is always translated

17 years agoDepend on malloc
Sergey Poznyakoff [Sat, 9 Sep 2006 05:14:25 +0000 (05:14 +0000)]
Depend on malloc

17 years agoUpdate
Sergey Poznyakoff [Sat, 9 Sep 2006 05:13:54 +0000 (05:13 +0000)]
Update

17 years ago(argp_doc): Split the untranslated doc string on '\v',
Sergey Poznyakoff [Sat, 9 Sep 2006 05:12:46 +0000 (05:12 +0000)]
(argp_doc): Split the untranslated doc string on '\v',
and translate the two parts separately, instead of feeding
the whole string to gettext.  This allows to exclude
'\v' from the strings visible to the translator by writing doc
strings as N_("..") "\v" N_("..").

17 years ago* config/srclist.txt: Temporarily comment out mktime.c until glibc bug
Paul Eggert [Fri, 8 Sep 2006 22:48:25 +0000 (22:48 +0000)]
* config/srclist.txt: Temporarily comment out mktime.c until glibc bug
2821 is fixed.

* lib/mktime.c (guess_time_tm): Fix bug where mktime
returned the maximum time_t value rather than (time_t) -1.
Problem originally reported by William Bardwell
<http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.

* m4/mktime.m4 (AC_FUNC_MKTIME): Sync from Autoconf.
Check for unistd.h too, since Autoconf doesn't assume POSIX.
Also:

2006-09-08  Paul Eggert  <eggert@cs.ucla.edu>
Add year_2050_test to catch glibc bug 2821
<http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.

2006-08-15  Paul Eggert  <eggert@cs.ucla.edu>
Prefer #ifdef to #if.

2006-04-02  Paul Eggert  <eggert@cs.ucla.edu>
Return from 'main' instead of calling 'exit'.

17 years ago* isapipe.h (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]:
Paul Eggert [Fri, 8 Sep 2006 17:11:17 +0000 (17:11 +0000)]
* isapipe.h (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]:
Moved to here ...
* isapipe.c (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]:
... from here.

17 years agoDon't make generated files read-only. That would bother too many
Jim Meyering [Fri, 8 Sep 2006 12:26:34 +0000 (12:26 +0000)]
Don't make generated files read-only.  That would bother too many
people.  However, do retain the ability to work when targets are
read-only: remove the destination and temporary files before writing
them (when generated via sed or echo), or by using the -f option for
both cp and mv commands.  Suggestion to use -f from Paul Eggert.
* modules/alloca-opt, modules/argz, modules/arpa_inet:
* modules/byteswap, modules/configmake, modules/fcntl:
* modules/fnmatch, modules/getopt, modules/glob, modules/inttypes:
* modules/localcharset, modules/netinet_in, modules/poll:
* modules/stdbool, modules/stdint, modules/sys_select:
* modules/sys_socket, modules/sys_stat, modules/sysexits:

17 years agoAvoid new build failure on FreeBSD 6.0.
Jim Meyering [Fri, 8 Sep 2006 09:10:56 +0000 (09:10 +0000)]
Avoid new build failure on FreeBSD 6.0.
* ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Include <sys/param.h>
when testing whether getmntinfo uses statvfs.  Patch by Pavel Tsekov,
in <http://savannah.gnu.org/bugs/?17643>.

17 years agoFix typo in previous change.
Paul Eggert [Thu, 7 Sep 2006 16:17:48 +0000 (16:17 +0000)]
Fix typo in previous change.

17 years ago* fsusage.m4 (gl_FILE_SYSTEM_USAGE): Don't use plain echo.
Paul Eggert [Thu, 7 Sep 2006 16:16:08 +0000 (16:16 +0000)]
* fsusage.m4 (gl_FILE_SYSTEM_USAGE): Don't use plain echo.

17 years agoA comment about automake-1.9b.
Bruno Haible [Thu, 7 Sep 2006 13:00:56 +0000 (13:00 +0000)]
A comment about automake-1.9b.

17 years ago.
Karl Berry [Thu, 7 Sep 2006 07:40:55 +0000 (07:40 +0000)]
.

17 years agoFix global typo in last change: use chmod u-w, not chmod u-x.
Jim Meyering [Thu, 7 Sep 2006 05:53:52 +0000 (05:53 +0000)]
Fix global typo in last change: use chmod u-w, not chmod u-x.
Spotted by Paul Eggert and Bruce Korb.
* modules/alloca-opt, modules/argz, modules/arpa_inet:
* modules/byteswap, modules/configmake, modules/fcntl:
* modules/fnmatch, modules/getopt, modules/glob, modules/inttypes:
* modules/localcharset, modules/netinet_in, modules/poll:
* modules/stdbool, modules/stdint, modules/sys_select:
* modules/sys_socket, modules/sys_stat, modules/sysexits:

17 years agoMake generated files be read-only.
Jim Meyering [Wed, 6 Sep 2006 21:58:00 +0000 (21:58 +0000)]
Make generated files be read-only.
* modules/alloca-opt (Makefile.am): Work also when $@ is read-only.
Ensure that each generated file is now read-only.
* modules/argz: Likewise.
* modules/arpa_inet: Likewise.
* modules/byteswap: Likewise.
* modules/configmake: Likewise.
* modules/fcntl: Likewise.
* modules/fnmatch: Likewise.
* modules/getopt: Likewise.
* modules/glob: Likewise.
* modules/inttypes: Likewise.
* modules/netinet_in: Likewise.
* modules/poll: Likewise.
* modules/stdbool: Likewise.
* modules/stdint: Likewise.
* modules/sys_select: Likewise.
* modules/sys_socket: Likewise.
* modules/sys_stat: Likewise.
* modules/sysexits: Likewise.
* modules/localcharset: Same as above, but continue using temporary
file named "t-$@" (why different?) rather than the "$@-t" used
everywhere else.

* modules/sysexits (Makefile.am): Replace literal occurrences
of "sysexit.h" more readable, and more consistent, "$@".

17 years ago_LIBADD is reserved for object files, not -L and -l options.
Bruno Haible [Wed, 6 Sep 2006 14:08:38 +0000 (14:08 +0000)]
_LIBADD is reserved for object files, not -L and -l options.

17 years agomissed changelog entry
Karl Berry [Wed, 6 Sep 2006 13:36:52 +0000 (13:36 +0000)]
missed changelog entry

17 years agoAdd support for LDFLAGS of the generated library.
Bruno Haible [Wed, 6 Sep 2006 12:35:42 +0000 (12:35 +0000)]
Add support for LDFLAGS of the generated library.

17 years agoNew modules 'striconv' and 'xstriconv'.
Bruno Haible [Wed, 6 Sep 2006 12:22:29 +0000 (12:22 +0000)]
New modules 'striconv' and 'xstriconv'.

17 years agoNew module 'xstriconv'.
Bruno Haible [Wed, 6 Sep 2006 12:21:48 +0000 (12:21 +0000)]
New module 'xstriconv'.

17 years agoNew module 'striconv'.
Bruno Haible [Wed, 6 Sep 2006 12:21:39 +0000 (12:21 +0000)]
New module 'striconv'.

17 years ago.
Karl Berry [Wed, 6 Sep 2006 07:40:49 +0000 (07:40 +0000)]
.

17 years ago* argz_.h: Sync from Libtool.
Ralf Wildenhues [Tue, 5 Sep 2006 17:24:38 +0000 (17:24 +0000)]
* argz_.h: Sync from Libtool.

2006-09-04  George Bosilca <bosilca@cs.utk.edu>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

* libltdl/argz_.h: It's __cplusplus, not _cplusplus.

17 years agoNew 'trim' module, from Davide Angelocola <davide.angelocola@tiscali.it>.
Bruno Haible [Tue, 5 Sep 2006 12:32:42 +0000 (12:32 +0000)]
New 'trim' module, from Davide Angelocola <davide.angelocola@tiscali.it>.

17 years ago(signed.m4, gettext.m4): changes not propagated
Karl Berry [Mon, 4 Sep 2006 12:45:56 +0000 (12:45 +0000)]
(signed.m4, gettext.m4): changes not propagated
until next release.

17 years agoSupport for mingw DLLs.
Bruno Haible [Mon, 4 Sep 2006 11:54:06 +0000 (11:54 +0000)]
Support for mingw DLLs.

17 years ago* lib/getloadavg.c: Use CONFIGURING_GETLOADAVG, not gl_GETLOADAVG.
Paul Eggert [Fri, 1 Sep 2006 19:54:35 +0000 (19:54 +0000)]
* lib/getloadavg.c: Use CONFIGURING_GETLOADAVG, not gl_GETLOADAVG.
Problem reported by Ralf Wildenhues in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-09/msg00000.html>.
* m4/getloadavg.m4 (gl_GETLOADAVG): Use CONFIGURING_GETLOADAVG,
not gl_GETLOADAVG.  Omit unneeded semicolons.
Problems reported by Ralf Wildenhues in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-09/msg00000.html>.
(gl_PREREQ_GETLOADAVG): Use AC_DEFUN, not m4_define.  Put
at the end, which is the usual gnulib style.

17 years ago* lib/mountlist.c: All uses of HAVE_F_FSTYPENAME_IN_STATFS replaced by
Paul Eggert [Fri, 1 Sep 2006 19:49:22 +0000 (19:49 +0000)]
* lib/mountlist.c: All uses of HAVE_F_FSTYPENAME_IN_STATFS replaced by
HAVE_STRUCT_STATFS_F_FSTYPENAME.
* m4/fstypename.m4 (gl_FSTYPENAME): Use AC_CHECK_MEMBERS instead
of doing all the work ourselves.
* m4/fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Don't check for
sys/statvfs.h since the code doesn't use HAVE_SYS_STATVFS_H.

17 years ago* gnulib-tool (func_emit_lib_Makefile_am): Fix typos in
Paul Eggert [Fri, 1 Sep 2006 15:17:11 +0000 (15:17 +0000)]
* gnulib-tool (func_emit_lib_Makefile_am): Fix typos in
yesterday's patch by changing test -n to test -z.

17 years agoImprove maintainability.
Bruno Haible [Fri, 1 Sep 2006 11:57:26 +0000 (11:57 +0000)]
Improve maintainability.
Fix a typo.

17 years ago.
Karl Berry [Fri, 1 Sep 2006 08:04:11 +0000 (08:04 +0000)]
.

17 years ago* modules/getloadavg (Files): Add m4/getloadavg.m4.
Paul Eggert [Thu, 31 Aug 2006 22:29:00 +0000 (22:29 +0000)]
* modules/getloadavg (Files): Add m4/getloadavg.m4.
(configure.ac): AC_FUNC_GETLOADAVG -> gl_GETLOADAVG, as
the former is now obsolescent.
* lib/getloadavg.c [defined gl_GETLOADAVG]: Don't include config.h
or stdbool.h, because they might not exist while configuring.
* m4/fnmatch.m4: Add comment that Autoconf AC_FUNC_FNMATCH is
obsolescent, and programs should use gnulib instead.
* m4/getloadavg.m4: New file, with contents taken from Autoconf
but with prefixes changed.

17 years ago* lib/chdir-long.c: Include <fcntl.h>, for O_DIRECTORY.
Paul Eggert [Thu, 31 Aug 2006 21:54:54 +0000 (21:54 +0000)]
* lib/chdir-long.c: Include <fcntl.h>, for O_DIRECTORY.
Don't include unistd.h or limits.h; not needed, since chdir-long.h
does that for us.
(O_DIRECTORY): Remove.
* modules/chdir-long (Depends-on): Add fcntl.

17 years ago* gnulib-tool: Don't let emacs change spaces to TAB.
Eric Blake [Thu, 31 Aug 2006 14:36:39 +0000 (14:36 +0000)]
* gnulib-tool: Don't let emacs change spaces to TAB.

17 years agoSlightly change the output generated by --makefile-name.
Bruno Haible [Thu, 31 Aug 2006 13:40:57 +0000 (13:40 +0000)]
Slightly change the output generated by --makefile-name.

17 years agoFix problem when calling "gnulib-tool --update" on multiple directories.
Bruno Haible [Thu, 31 Aug 2006 13:11:23 +0000 (13:11 +0000)]
Fix problem when calling "gnulib-tool --update" on multiple directories.

17 years ago.
Karl Berry [Thu, 31 Aug 2006 08:03:18 +0000 (08:03 +0000)]
.