Simon Josefsson [Wed, 5 Mar 2008 11:21:47 +0000 (12:21 +0100)]
Re-license byteswap to LGPLv2+.
Simon Josefsson [Wed, 5 Mar 2008 09:58:52 +0000 (10:58 +0100)]
Use unlimited license for inline module.
Bruno Haible [Mon, 3 Mar 2008 23:58:30 +0000 (00:58 +0100)]
Update last ChangeLog entry.
Bruno Haible [Mon, 3 Mar 2008 11:52:53 +0000 (12:52 +0100)]
Oops, fix last commit.
John E. Malmberg [Mon, 3 Mar 2008 11:49:54 +0000 (12:49 +0100)]
Add VMS support.
John E. Malmberg [Mon, 3 Mar 2008 11:39:56 +0000 (12:39 +0100)]
Update VMS specifics.
Jim Meyering [Sun, 2 Mar 2008 20:02:48 +0000 (21:02 +0100)]
Remove the last dependency on the "free" module.
* m4/readutmp.m4 (gl_READUTMP): Don't require gl_FUNC_FREE.
Reported by Bob Proulx.
Jim Meyering [Sat, 1 Mar 2008 11:14:27 +0000 (12:14 +0100)]
lib/getdelim.c (getdelim): Don't leak memory upon failed realloc.
Jim Meyering [Mon, 18 Feb 2008 13:12:07 +0000 (14:12 +0100)]
Remove useless "if" tests before free. Deprecate "free" module.
* doc/posix-functions/free.texi: Mention that this
module is no longer useful.
* modules/free (Notice): Say this module is obsolete.
* modules/readutmp (Depends-on): Remove free.
* lib/save-cwd.c (free_cwd): Remove useless "if" before free.
* lib/putenv.c (putenv): Likewise.
* lib/gc-gnulib.c (gc_cipher_close): Likewise.
* lib/getaddrinfo.c (freeaddrinfo): Likewise.
* tests/test-c-strcasestr.c (main): Likewise.
* tests/test-c-strstr.c (main): Likewise.
* tests/test-mbscasestr1.c (main): Likewise.
* tests/test-mbscasestr2.c (main): Likewise.
* tests/test-mbsstr1.c (main): Likewise.
* tests/test-mbsstr2.c (main): Likewise.
* tests/test-memmem.c (main): Likewise.
* tests/test-strcasestr.c (main): Likewise.
* tests/test-striconv.c (main): Likewise.
* tests/test-striconveh.c (main): Likewise.
* tests/test-striconveha.c (main): Likewise.
* tests/test-strstr.c (main): Likewise.
Jim Meyering [Sun, 2 Mar 2008 16:19:20 +0000 (17:19 +0100)]
* build-aux/git-version-gen: Adjust a comment and the Usage string.
Signed-off-by: Jim Meyering <meyering@redhat.com>
Jim Meyering [Sun, 2 Mar 2008 16:17:28 +0000 (17:17 +0100)]
bootstrap: sync from coreutils again
* build-aux/bootstrap: Remove dangling m4/*.m4 symlinks.
Signed-off-by: Jim Meyering <meyering@redhat.com>
Karl Berry [Sun, 2 Mar 2008 15:01:38 +0000 (07:01 -0800)]
autoupdate
Eric Blake [Sat, 1 Mar 2008 15:40:22 +0000 (08:40 -0700)]
Fix bugs in last patch.
* lib/memchr2.c (memchr2): Fix typo.
* tests/test-memchr2.c: Test previous bug, and don't use GNU
extension.
Reported by Bruce Korb.
Signed-off-by: Eric Blake <ebb9@byu.net>
Jim Meyering [Sat, 1 Mar 2008 15:39:04 +0000 (16:39 +0100)]
Add ChangeLog entry.
Jim Meyering [Sat, 1 Mar 2008 08:08:53 +0000 (09:08 +0100)]
bootstrap: sync from coreutils
* build-aux/bootstrap (update_po_files): Copy a .po file into place
also when the target doesn't exist.
Eric Blake [Sat, 1 Mar 2008 13:54:29 +0000 (06:54 -0700)]
New module 'memchr2'.
* modules/memchr2: New file.
* modules/memchr2-tests: Likewise.
* lib/memchr2.h: Likewise.
* lib/memchr2.c: Likewise, based on memchr.c.
* tests/test-memchr2.c: New test.
* MODULES.html.sh (String handling): Add memchr2.
Signed-off-by: Eric Blake <ebb9@byu.net>
Karl Berry [Fri, 29 Feb 2008 23:22:57 +0000 (15:22 -0800)]
update from texinfo
Karl Berry [Fri, 29 Feb 2008 14:59:47 +0000 (06:59 -0800)]
autoupdate
Bruno Haible [Fri, 29 Feb 2008 09:31:01 +0000 (10:31 +0100)]
Tests for module 'freadseek'.
Bruno Haible [Fri, 29 Feb 2008 09:29:38 +0000 (10:29 +0100)]
New module 'freadseek'.
Sergey Poznyakoff [Fri, 29 Feb 2008 08:49:04 +0000 (10:49 +0200)]
Add anubis, cpio, mailfromd, mailutils, radius, wydawca.
Sergey Poznyakoff [Fri, 29 Feb 2008 08:30:05 +0000 (10:30 +0200)]
Update
Sergey Poznyakoff [Fri, 29 Feb 2008 08:29:06 +0000 (10:29 +0200)]
(gl_ARGP): Use AC_TRY_LINK to test if program_invocation_name and
program_invocation_short_name are present.
Bruno Haible [Fri, 29 Feb 2008 00:08:18 +0000 (01:08 +0100)]
More tests for freadptr.
Bruno Haible [Thu, 28 Feb 2008 23:58:02 +0000 (00:58 +0100)]
Change specification for the sake of ungetc on hypothetic platforms.
Karl Berry [Thu, 28 Feb 2008 14:55:50 +0000 (06:55 -0800)]
autoupdate
Sergey Poznyakoff [Thu, 28 Feb 2008 14:48:43 +0000 (16:48 +0200)]
Update
Sergey Poznyakoff [Thu, 28 Feb 2008 14:48:03 +0000 (16:48 +0200)]
(source_base, m4_base, doc_base, tests_base): New variables.
(gnulib_tool_options): Do not hardcode base directories, use
the above variables instead.
Atsushi SAKAI [Thu, 28 Feb 2008 14:26:44 +0000 (15:26 +0100)]
Fix typo in comment.
Bruno Haible [Thu, 28 Feb 2008 12:21:06 +0000 (13:21 +0100)]
Tests for module 'freadptr'.
Bruno Haible [Thu, 28 Feb 2008 12:19:17 +0000 (13:19 +0100)]
New module 'freadptr'.
Karl Berry [Tue, 26 Feb 2008 23:09:20 +0000 (00:09 +0100)]
Sync from Libtool:
* libltdl/argz.c (argz_add, argz_count): New functions.
* libltdl/argz.in.h: Declare them.
Report by Juan Manuel Guerrero <juan.guerrero@gmx.de>.
Bruno Haible [Sun, 24 Feb 2008 17:40:04 +0000 (18:40 +0100)]
Fix a build problem on HP-UX 10.
Bruno Haible [Sun, 24 Feb 2008 16:20:48 +0000 (17:20 +0100)]
Documentation tweak, reported by Peter O'Gorman.
Bruno Haible [Sun, 24 Feb 2008 15:58:50 +0000 (16:58 +0100)]
Tests for module 'environ'.
Bruno Haible [Sun, 24 Feb 2008 15:57:02 +0000 (16:57 +0100)]
Oops, forgot a dependency.
Bruno Haible [Sun, 24 Feb 2008 15:40:15 +0000 (16:40 +0100)]
New module 'environ'.
Bruno Haible [Sun, 24 Feb 2008 14:31:00 +0000 (15:31 +0100)]
Documentation about problem on MacOS X 10.
Bob Proulx [Thu, 21 Feb 2008 08:07:10 +0000 (09:07 +0100)]
Enable use of older two part flavor 'git describe'.
* build-aux/git-version-gen: If using the older two part flavor of
git version then recreate the third part now present in the
newer three part flavor of git describe.
Martin Buchholz [Wed, 20 Feb 2008 11:15:12 +0000 (12:15 +0100)]
* lib/fts.c (fts_build): Typo correction to comment.
Jim Meyering [Wed, 20 Feb 2008 09:42:48 +0000 (10:42 +0100)]
* ChangeLog: Indent copyright notice to avoid "make distcheck" failure in coreutils.
Bruno Haible [Mon, 18 Feb 2008 12:00:11 +0000 (13:00 +0100)]
Restore the ChangeLog's truncated tail.
Bruno Haible [Mon, 18 Feb 2008 02:36:33 +0000 (03:36 +0100)]
Avoid generating no-op conflicts.
Bruno Haible [Mon, 18 Feb 2008 02:11:40 +0000 (03:11 +0100)]
Speed up by 10%.
Bruno Haible [Mon, 18 Feb 2008 02:09:00 +0000 (03:09 +0100)]
Speed up by 25%.
Bruno Haible [Mon, 18 Feb 2008 01:41:03 +0000 (02:41 +0100)]
Speed up from O(n^2) to O(n).
Bruno Haible [Mon, 18 Feb 2008 00:55:47 +0000 (01:55 +0100)]
New option --split-merged-entry.
Bruno Haible [Sun, 17 Feb 2008 14:42:34 +0000 (15:42 +0100)]
Support the "git pull --rebase" situation.
Karl Berry [Sat, 16 Feb 2008 17:09:43 +0000 (09:09 -0800)]
autoupdate
Karl Berry [Sat, 16 Feb 2008 17:07:54 +0000 (09:07 -0800)]
autoupdate
Eric Blake [Sat, 16 Feb 2008 14:40:47 +0000 (07:40 -0700)]
Avoid doubling \ in common case of "c-maybe" quoting style.
* lib/quotearg.c (quotearg_buffer_restyled): Don't escape \ when
eliding outer quotes.
* lib/quotearg.h: Document this.
* tests/test-quotearg.c (result_strings, inputs, results_g)
(flag_results, locale_results): Test it by adding a new string to
each test group.
(compare_strings): Test new string.
Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake [Thu, 14 Feb 2008 04:46:03 +0000 (21:46 -0700)]
Avoid trigraph quoting in default output.
* lib/quotearg.h (enum quoting_flags): Add QA_SPLIT_TRIGRAPHS.
* lib/quotearg.c (quotearg_buffer_restyled): Don't quote trigraphs
unless explicitly requested.
* tests/test-quotearg.c (flag_results, main): Add additional tests.
Signed-off-by: Eric Blake <ebb9@byu.net>
Karl Berry [Fri, 15 Feb 2008 19:16:02 +0000 (11:16 -0800)]
update from texinfo
Karl Berry [Thu, 14 Feb 2008 15:16:31 +0000 (07:16 -0800)]
autoupdate
Lasse Collin [Wed, 23 Jan 2008 16:48:40 +0000 (17:48 +0100)]
Don't rely on signed integer overflowing to negative value.
* lib/getugroups.c (getugroups): Include <limits.h>.
Instead, compare against INT_MAX, and increment only if the test passes.
Eric Blake [Wed, 13 Feb 2008 14:41:22 +0000 (07:41 -0700)]
Avoid shadowing warning and compile errors on Linux.
* tests/test-quotearg.c [ENABLE_NLS]: Disable <libintl.h>
forwarding macros on Linux.
(dcgettext): Define a stub, for Linux.
(results_g, main): Avoid warnings.
Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake [Wed, 13 Feb 2008 04:05:57 +0000 (21:05 -0700)]
Silence warning in last patch.
* lib/quotearg.c (quotearg_buffer_restyled): Add missing const.
Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake [Tue, 12 Feb 2008 18:42:29 +0000 (11:42 -0700)]
Quotearg part 4: add tests, fix c-maybe colon quoting.
* lib/quotearg.h: Improve documentation.
* lib/quotearg.c (quotearg_buffer_restyled): Don't add extra
escapes when adding outer quotes. When quoting trigraphs, use
valid C notation. When quoting NUL, omit extra characters if next
character is not digit. Alter prototype.
(quotearg_buffer, quotearg_alloc_mem, quotearg_n_options): Adjust
callers.
* modules/quotearg-tests: New module.
* tests/test-quotearg.c: New test.
Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake [Thu, 7 Feb 2008 23:44:01 +0000 (16:44 -0700)]
Quotearg part 3: add flag to control outer quote elision.
* lib/quotearg.h (c_maybe_quoting_style): New style.
(enum quoting_flags): Better documentation of flags.
* lib/quotearg.c (quoting_style_args, quoting_style_vals): Add
c-maybe style.
(quotearg_buffer_restyled): Handle new flag to elide outer
quotes.
Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake [Thu, 7 Feb 2008 21:35:51 +0000 (14:35 -0700)]
Quotearg part 2: add flag that can control NUL elision.
* lib/quotearg.h (set_quoting_flags): New prototype.
* lib/quotearg.c (struct quoting_options): Add flag field.
(set_quoting_flags): New function.
(quotearg_buffer_restyled): Add flags parameter.
(quotearg_alloc_mem): Set the flag if length cannot be returned.
(quotearg_n_options): Set the flag, since length cannot be
returned.
(quoting_options_from_style): Default flags correctly.
Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake [Thu, 7 Feb 2008 13:39:57 +0000 (06:39 -0700)]
Quotearg part 1: more wrappers, restore quotearg_char state.
* lib/quotearg.h (quotearg_alloc_mem, quotearg_n_mem)
(quotearg_mem, quotearg_style_mem, quotearg_char_mem)
(quotearg_colon_mem): New wrappers.
* lib/quotearg.c (quotearg_alloc, quotearg_char): Rewrite...
(quotearg_alloc_mem, quotearg_char_mem): ...in terms of these new
functions.
(quotearg_n_mem, quotearg_mem, quotearg_style_mem)
(quotearg_colon_mem): New functions.
Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible [Tue, 12 Feb 2008 23:23:23 +0000 (00:23 +0100)]
Give credit to a bug reporter.
Bruno Haible [Mon, 11 Feb 2008 23:13:34 +0000 (00:13 +0100)]
Improve reference to ./libgnu.a.
Bruno Haible [Mon, 11 Feb 2008 12:27:09 +0000 (13:27 +0100)]
Specify custom merge drivers.
Bruno Haible [Mon, 11 Feb 2008 12:24:11 +0000 (13:24 +0100)]
Comment changes.
Jim Meyering [Mon, 11 Feb 2008 08:10:21 +0000 (09:10 +0100)]
useless-if-before-free: Fix reversed exit values.
* build-aux/useless-if-before-free: Use correct values
for EXIT_MATCH and EXIT_NO_MATCH.
Jim Meyering [Mon, 11 Feb 2008 07:34:27 +0000 (08:34 +0100)]
useless-if-before-free: Close stdout carefully.
Bruno Haible [Mon, 11 Feb 2008 00:16:24 +0000 (01:16 +0100)]
New module 'git-merge-changelog'.
Jim Meyering [Sun, 10 Feb 2008 22:18:09 +0000 (23:18 +0100)]
useless-if-before-free: New option: --list (-l).
Jim Meyering [Sun, 10 Feb 2008 19:42:00 +0000 (20:42 +0100)]
Add a better summary to previous ChangeLog entry.
Jim Meyering [Sun, 10 Feb 2008 19:40:47 +0000 (20:40 +0100)]
* build-aux/useless-if-before-free: Exit 2 for errors.
Upon failure to open a file, don't exit immediately.
Rather, just warn and continue with any remaining files.
Bruno Haible [Sun, 10 Feb 2008 18:35:54 +0000 (19:35 +0100)]
New abstract list operation 'node_set_value'.
Bruno Haible [Sun, 10 Feb 2008 18:22:48 +0000 (19:22 +0100)]
Avoid gcc warnings due to misplaced 'const'.
Jim Meyering [Sun, 10 Feb 2008 16:15:06 +0000 (17:15 +0100)]
New script and module: useless-if-before-free
* MODULES.html.sh (maint+release support): Add useless-if-before-free.
* build-aux/useless-if-before-free: New file.
* modules/useless-if-before-free: New file.
Jim Meyering [Sun, 10 Feb 2008 16:12:20 +0000 (17:12 +0100)]
gitlog-to-changelog: Add omitted ChangeLog entry.
Jim Meyering [Sun, 10 Feb 2008 10:05:12 +0000 (11:05 +0100)]
* build-aux/gitlog-to-changelog: Use committer date, not author date.
Jim Meyering [Sun, 10 Feb 2008 08:49:40 +0000 (09:49 +0100)]
xstrtol_error: Fix typo.
* lib/xstrtol-error.c (xstrtol_error): The parameter was unused:
s/exit_failure/exit_status/.
Jim Meyering [Sat, 9 Feb 2008 13:35:33 +0000 (14:35 +0100)]
New script and module: gitlog-to-changelog
* MODULES.html.sh (maint+release support): Add gitlog-to-changelog.
* modules/gitlog-to-changelog: New file.
* build-aux/gitlog-to-changelog: New file.
Jim Meyering [Fri, 8 Feb 2008 16:49:35 +0000 (17:49 +0100)]
Avoid two "parameter unused" warnings.
* lib/stat-time.h (get_stat_birthtime_ns, get_stat_birthtime):
Mark "st" as used.
Jim Meyering [Fri, 8 Feb 2008 10:35:02 +0000 (11:35 +0100)]
Use "git COMMAND", not "git-COMMAND".
* build-aux/bootstrap (version_controlled_file): s/git-rm/git-rm/.
* build-aux/announce-gen (get_tool_versions): Correct a diagnostic.
Jim Meyering [Fri, 8 Feb 2008 10:31:54 +0000 (11:31 +0100)]
* build-aux/git-version-gen: Use "git status", not "git-status".
Bruno Haible [Fri, 8 Feb 2008 01:32:48 +0000 (02:32 +0100)]
Don't use %n on native Woe32 systems, to avoid a crash on Windows Vista systems.
Bruno Haible [Thu, 7 Feb 2008 01:12:24 +0000 (02:12 +0100)]
Tweak ChangeLog entry.
Bruno Haible [Thu, 7 Feb 2008 01:08:13 +0000 (02:08 +0100)]
Fix *printf behaviour regarding the left-adjust flag on HP-UX 10.20.
Bruno Haible [Thu, 7 Feb 2008 00:47:53 +0000 (01:47 +0100)]
Fix bug introduced on 2008-01-26.
Bruno Haible [Wed, 6 Feb 2008 22:58:36 +0000 (23:58 +0100)]
Fix bug introduced on 2007-06-10.
Karl Berry [Tue, 5 Feb 2008 18:24:16 +0000 (10:24 -0800)]
autoupdate
Peter O'Gorman [Sun, 3 Feb 2008 08:15:52 +0000 (09:15 +0100)]
getloadavg: use libperfstat on AIX5
* lib/getloadavg.c, m4/getloadavg.m4 [aix]: Use libperfstat
Bruno Haible [Sun, 3 Feb 2008 20:06:40 +0000 (21:06 +0100)]
Add comments about required includes.
Bruno Haible [Sat, 2 Feb 2008 02:41:28 +0000 (03:41 +0100)]
users.txt: Add gnuit.
Bruno Haible [Thu, 31 Jan 2008 22:37:55 +0000 (23:37 +0100)]
Mark set_uint32 function as 'inline'.
Jim Meyering [Thu, 31 Jan 2008 13:32:19 +0000 (14:32 +0100)]
Use "sizeof VAR", rather than a literal "4".
* lib/md5.c (md5_read_ctx): Use sizeof ctx->A, not 4.
* lib/md4.c (md4_read_ctx): Likewise.
* lib/sha1.c (sha1_read_ctx): Likewise.
Simon Josefsson [Thu, 31 Jan 2008 12:59:31 +0000 (13:59 +0100)]
Fix typo. Suggested by Jim.
Simon Josefsson [Thu, 31 Jan 2008 12:59:03 +0000 (13:59 +0100)]
Add sha1 self test.
Simon Josefsson [Thu, 31 Jan 2008 12:57:17 +0000 (13:57 +0100)]
Add SHA1_DIGEST_SIZE #define to sha1.h.
Jim Meyering [Thu, 31 Jan 2008 12:04:07 +0000 (13:04 +0100)]
Prefer "sizeof v" over the equivalent "4".
* lib/md4.c (set_uint32): Use "sizeof v" as memcpy length, not 4.
* lib/md5.c (set_uint32): Likewise.
* lib/sha1.c (set_uint32): Likewise.
Jim Meyering [Thu, 31 Jan 2008 10:13:04 +0000 (11:13 +0100)]
vc-list-files: new module
* modules/vc-list-files: New module.
* build-aux/vc-list-files: New file.
* MODULES.html.sh (maint/rel Support): Add vc-list-files.
Simon Josefsson [Thu, 31 Jan 2008 10:13:13 +0000 (11:13 +0100)]
sha1.c (set_uint32): Mark function as static.
Simon Josefsson [Thu, 31 Jan 2008 10:10:36 +0000 (11:10 +0100)]
md2: clarify comments to say that alignment is not required.
* lib/md2.h: Remove warning about alignment in comment.
* lib/md2.c (md2_read_ctx, md2_finish_ctx): Doc fix, alignment
has never been required.
Simon Josefsson [Thu, 31 Jan 2008 10:08:05 +0000 (11:08 +0100)]
md4: adapt alignment constraint fix from sha1.
* lib/md4.c (set_uint32): New function, from sha1.c
(md4_read_ctx): Use it.
(md4_finish_ctx): Doc fix.
* lib/md4.h: Doc fix.