Jim Meyering [Sat, 13 Aug 2005 21:04:02 +0000 (21:04 +0000)]
update from gnulib
Jim Meyering [Sat, 13 Aug 2005 17:39:40 +0000 (17:39 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 Aug 2005 17:36:34 +0000 (17:36 +0000)]
.
Jim Meyering [Sat, 13 Aug 2005 17:34:22 +0000 (17:34 +0000)]
(AC_CONFIG_FILES): Remove tests/date/Makefile.
Jim Meyering [Sat, 13 Aug 2005 17:34:11 +0000 (17:34 +0000)]
(SUBDIRS): Remove date.
Jim Meyering [Sat, 13 Aug 2005 15:43:40 +0000 (15:43 +0000)]
convert last batch of tests
Jim Meyering [Sat, 13 Aug 2005 15:36:14 +0000 (15:36 +0000)]
Use new ENV and ENV_DEL to support this latest batch of tests from
tests/date/Test.pm
Jim Meyering [Sat, 13 Aug 2005 15:34:52 +0000 (15:34 +0000)]
New keywords, ENV and ENV_DEL, to support tests/misc/date.
Jim Meyering [Sat, 13 Aug 2005 14:45:45 +0000 (14:45 +0000)]
move a bunch of tests to ../misc/date
Jim Meyering [Sat, 13 Aug 2005 14:45:38 +0000 (14:45 +0000)]
more tests translated from ../date/Test.pm
Jim Meyering [Sat, 13 Aug 2005 14:42:03 +0000 (14:42 +0000)]
move a bunch of tests to ../misc/date
Jim Meyering [Sat, 13 Aug 2005 14:41:39 +0000 (14:41 +0000)]
add a bunch more tests
Jim Meyering [Sat, 13 Aug 2005 14:33:48 +0000 (14:33 +0000)]
move a handful of tests to ../misc/date
Jim Meyering [Sat, 13 Aug 2005 14:33:33 +0000 (14:33 +0000)]
more tests translated from ../date/Test.pm
Jim Meyering [Sat, 13 Aug 2005 14:08:29 +0000 (14:08 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 Aug 2005 14:08:26 +0000 (14:08 +0000)]
(TESTS): Add date.
Jim Meyering [Sat, 13 Aug 2005 14:07:18 +0000 (14:07 +0000)]
With todays additions, the generated shell script,
tests/date/date-tests had becoming far too large (over 350KB),
so use the superior-but-perl-requiring framework instead.
* tests/date/Test.pm: Move new tests from here...
* tests/misc/date: ...to this new file.
Jim Meyering [Sat, 13 Aug 2005 13:16:29 +0000 (13:16 +0000)]
(test_vector): Add 364 more tests like the above.
Remove unused $sunos4 variable.
Jim Meyering [Sat, 13 Aug 2005 13:07:49 +0000 (13:07 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 Aug 2005 13:07:45 +0000 (13:07 +0000)]
(test_vector) [cross-dst]: New test for just-fixed getdate.y bug.
Jim Meyering [Sat, 13 Aug 2005 12:10:22 +0000 (12:10 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 Aug 2005 12:10:05 +0000 (12:10 +0000)]
(get_date): Undo part of the 2005-04-04 change, so that
the command "date -d'2005-03-27 +1 day'" succeeds once again, even
when run in a time zone for which daylight savings time is in effect
for the starting date.
Jim Meyering [Fri, 12 Aug 2005 13:17:05 +0000 (13:17 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Aug 2005 13:16:47 +0000 (13:16 +0000)]
(re_string_realloc_buffers): Rename local-shadowed
variable: s/new_array/offsets/.
(re_acquire_state) [lint]: Set *err, to avoid warnings in caller.
Jim Meyering [Fri, 12 Aug 2005 13:16:26 +0000 (13:16 +0000)]
(regexec, re_search_stub) [!_LIBC]: Omit declaration of unused local, dfa.
(proceed_next_node): Remove outer declaration and
unnecessary initialization of local-shadowed `dest_node'.
Declare it in inner scopes, nearer its uses instead.
Jim Meyering [Fri, 12 Aug 2005 13:10:17 +0000 (13:10 +0000)]
(duplicate_node) [lint]: Set *new_idx to -1, to avoid
warnings (unfounded) in caller that it may be used uninitialized.
Jim Meyering [Fri, 12 Aug 2005 13:02:23 +0000 (13:02 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Aug 2005 13:02:17 +0000 (13:02 +0000)]
Mention that with FTS_LOGICAL, we use FTS_TIGHT_CYCLE_CHECK.
Jim Meyering [Fri, 12 Aug 2005 13:02:01 +0000 (13:02 +0000)]
(setup_dir, enter_dir, leave_dir, free_dir):
Use the hash-table-based cycle-detection code not just when
FTS_TIGHT_CYCLE_CHECK if specified, but also with FTS_LOGICAL.
Reported by James Youngman in
<http://lists.gnu.org/archive/html/bug-gnulib/2005-08/msg00011.html>.
Jim Meyering [Fri, 12 Aug 2005 13:00:57 +0000 (13:00 +0000)]
(fts_cross_check) [FTS_DEBUG]: s/active_dir_ht/fts_cycle.ht/.
Jim Meyering [Fri, 12 Aug 2005 12:41:56 +0000 (12:41 +0000)]
(IF_LINT): Define.
Jim Meyering [Fri, 12 Aug 2005 12:41:41 +0000 (12:41 +0000)]
(RE_SYNTAX_POSIX_AWK): Remove useless space-before-TAB.
Jim Meyering [Fri, 12 Aug 2005 08:25:57 +0000 (08:25 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Aug 2005 08:25:52 +0000 (08:25 +0000)]
(main): Explain why we reopen stdin for write-only access.
Jim Meyering [Fri, 12 Aug 2005 08:22:50 +0000 (08:22 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Aug 2005 08:22:47 +0000 (08:22 +0000)]
(long_time_expected_width): Don't test for failed localtime.
That cannot happen when the result date's year is in range.
Add an assertion instead.
Jim Meyering [Fri, 12 Aug 2005 08:18:25 +0000 (08:18 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Aug 2005 08:18:18 +0000 (08:18 +0000)]
(sort_found_occurs, digest_word_file): Likewise.
(alloc_and_compile_regex): Likewise.
Jim Meyering [Fri, 12 Aug 2005 08:17:54 +0000 (08:17 +0000)]
(sort_files): Use cleaner `sizeof *VAR_NAME' rather than `sizeof (TYPE_NAME)'.
Jim Meyering [Fri, 12 Aug 2005 08:08:04 +0000 (08:08 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Aug 2005 08:08:00 +0000 (08:08 +0000)]
Test `!defined HAVE_MBSTATE_T' rather than
`defined mbstate_t' to detect missing support for mbstate_t.
The latter didn't work for HP-UX 11.23.
Jim Meyering [Fri, 12 Aug 2005 08:06:56 +0000 (08:06 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Aug 2005 08:06:28 +0000 (08:06 +0000)]
Add bulletproofing in case stdin is closed.
(have_read_stdin): Remove global variable.
(dc_parse_stream): Always use stdin (freopen, if needed) rather
than sometimes using fopen to get a new file descriptor.
Call fclose unconditionally.
(main): Don't close stdin here. If needed, now it's already done
by dc_parse_stream.
Jim Meyering [Fri, 12 Aug 2005 07:57:16 +0000 (07:57 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Aug 2005 07:45:29 +0000 (07:45 +0000)]
(dc_parse_file): Remove comment about now-removed OPENOPTS.
Jim Meyering [Fri, 12 Aug 2005 07:29:59 +0000 (07:29 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Aug 2005 07:29:51 +0000 (07:29 +0000)]
(main): Cosmetic: use X2REALLOC rather than x2realloc.
Jim Meyering [Fri, 12 Aug 2005 07:29:38 +0000 (07:29 +0000)]
(fold_file): Cosmetic: use X2REALLOC rather than x2realloc.
Jim Meyering [Fri, 12 Aug 2005 07:16:25 +0000 (07:16 +0000)]
Cosmetic: use X2NREALLOC (only two arguments) rather than x2nrealloc (with three).
Jim Meyering [Fri, 12 Aug 2005 07:15:37 +0000 (07:15 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Aug 2005 07:10:33 +0000 (07:10 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Aug 2005 07:10:22 +0000 (07:10 +0000)]
adjust long lines
Jim Meyering [Fri, 12 Aug 2005 07:09:47 +0000 (07:09 +0000)]
(main): Cosmetic: use '\0' in place of 0.
Jim Meyering [Fri, 12 Aug 2005 06:54:24 +0000 (06:54 +0000)]
.
Jim Meyering [Fri, 12 Aug 2005 06:50:29 +0000 (06:50 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Aug 2005 06:49:48 +0000 (06:49 +0000)]
(cp invocation, mv invocation): Remove square
brackets in --reply=[HOW]. Reported by Oscar Liljeblad.
Jim Meyering [Tue, 2 Aug 2005 21:15:19 +0000 (21:15 +0000)]
.
Jim Meyering [Tue, 2 Aug 2005 20:53:32 +0000 (20:53 +0000)]
Include "xanstrftime.h".
(show_date): Use xanstrftime instead of open-coding it.
Jim Meyering [Tue, 2 Aug 2005 20:52:49 +0000 (20:52 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 Aug 2005 20:52:44 +0000 (20:52 +0000)]
Include "xanstrftime.h".
(show_date): Use xanstrftime instead of open-coding it.
Jim Meyering [Tue, 2 Aug 2005 20:49:08 +0000 (20:49 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 Aug 2005 20:48:58 +0000 (20:48 +0000)]
Require gl_FUNC_XANSTRFTIME.
Jim Meyering [Tue, 2 Aug 2005 20:48:15 +0000 (20:48 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 Aug 2005 20:47:46 +0000 (20:47 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 Aug 2005 20:47:37 +0000 (20:47 +0000)]
new files
Jim Meyering [Tue, 2 Aug 2005 20:44:46 +0000 (20:44 +0000)]
*** empty log message ***
Jim Meyering [Tue, 2 Aug 2005 20:44:38 +0000 (20:44 +0000)]
(show_date): Remove now-unnecessary code that
treated an empty format string as a special case.
Jim Meyering [Tue, 2 Aug 2005 20:44:09 +0000 (20:44 +0000)]
(empty-format): New test, for this case.
Paul Eggert [Mon, 25 Jul 2005 19:29:51 +0000 (19:29 +0000)]
Import regex.m4 from gnulib.
Paul Eggert [Mon, 25 Jul 2005 19:29:34 +0000 (19:29 +0000)]
(gl_INCLUDED_REGEX): Use AC_RUN_ELSE instead of the
obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
Paul Eggert [Thu, 21 Jul 2005 22:00:55 +0000 (22:00 +0000)]
Fix getdate bug with relative times.
Paul Eggert [Thu, 21 Jul 2005 22:00:34 +0000 (22:00 +0000)]
(relative_time): New type.
(RELATIVE_TIME_0): New constant.
(parser_control): Use relative_time instead of doing it ourselves.
(%union): Add new relative_time rel member.
(tYEAR_UNIT, tMONTH_UNIT, tHOUR_UNIT, tMINUTE_UNIT, tSEC_UNIT):
Now typeless.
(relunit, relunit_snumber): Now of type rel.
(zone, rel, relunit, get_date): Adjust to above changes.
Paul Eggert [Thu, 21 Jul 2005 22:00:06 +0000 (22:00 +0000)]
(gl_C_COMPOUND_LITERALS): New macro.
(gl_GETDATE): Use it.
Jim Meyering [Tue, 19 Jul 2005 11:10:43 +0000 (11:10 +0000)]
*** empty log message ***
Jim Meyering [Tue, 19 Jul 2005 11:10:35 +0000 (11:10 +0000)]
(usage): Adjust printf argument list to match new format string.
Paul Eggert [Tue, 19 Jul 2005 07:35:51 +0000 (07:35 +0000)]
md5sum --check now accepts multiple input files.
Paul Eggert [Tue, 19 Jul 2005 07:34:55 +0000 (07:34 +0000)]
(usage, main): --check now accepts multiple input files.
Paul Eggert [Tue, 19 Jul 2005 07:34:26 +0000 (07:34 +0000)]
(md5sum invocation): --check now allows multiple FILE inputs.
Paul Eggert [Tue, 19 Jul 2005 07:34:02 +0000 (07:34 +0000)]
md5sum --check now accepts multiple input files, and similarly for sha1sum.
Paul Eggert [Mon, 18 Jul 2005 08:03:56 +0000 (08:03 +0000)]
Fix a problem noted by James Youngman: VPATH-style builds don't
work because of po file problems.
Paul Eggert [Mon, 18 Jul 2005 07:53:05 +0000 (07:53 +0000)]
(EXIT_STATUS): New macro.
(PROGRAM_NAME, usage): Behave like "false" if EXIT_STATUS indicates.
(usage): Remove "These option names may not be abbreviated."
Paul Eggert [Mon, 18 Jul 2005 07:52:37 +0000 (07:52 +0000)]
Initial revision.
Paul Eggert [Mon, 18 Jul 2005 07:52:18 +0000 (07:52 +0000)]
(BUILT_SOURCES): Remove false.c.
(false.c): Remove; it's now a source file.
Paul Eggert [Mon, 18 Jul 2005 07:51:49 +0000 (07:51 +0000)]
Update true/false doc.
Paul Eggert [Mon, 18 Jul 2005 07:51:32 +0000 (07:51 +0000)]
(false invocation):
Mention that false is often built-in, and that it exits
with status >1 on some hosts.
(true invocation): Remove now-incorrect "non-POSIX mode" reference.
Paul Eggert [Fri, 15 Jul 2005 21:55:32 +0000 (21:55 +0000)]
nohup no longer worries about POSIXLY_CORRECT.
Paul Eggert [Fri, 15 Jul 2005 21:55:13 +0000 (21:55 +0000)]
(main): Don't worry about POSIXLY_CORRECT.
Paul Eggert [Fri, 15 Jul 2005 21:54:56 +0000 (21:54 +0000)]
(nohup invocation): POSIXLY_CORRECT no longer
affects nohup's behavior. Input is redirected from /dev/null.
Paul Eggert [Fri, 15 Jul 2005 21:54:38 +0000 (21:54 +0000)]
nohup now ignores POSIXLY_CORRECT and redirects from /dev/null.
Paul Eggert [Thu, 14 Jul 2005 00:03:08 +0000 (00:03 +0000)]
Remove FESETROUND_LIBM; no longer needed.
Jim Meyering [Tue, 12 Jul 2005 18:34:45 +0000 (18:34 +0000)]
*** empty log message ***
Jim Meyering [Tue, 12 Jul 2005 18:31:51 +0000 (18:31 +0000)]
(copyright-check): Reflect rearrangement in version-etc files.
Jim Meyering [Tue, 12 Jul 2005 16:48:12 +0000 (16:48 +0000)]
*** empty log message ***
Jim Meyering [Tue, 12 Jul 2005 16:47:37 +0000 (16:47 +0000)]
(X2NREALLOC): Define.
Jim Meyering [Tue, 12 Jul 2005 16:44:52 +0000 (16:44 +0000)]
.
Jim Meyering [Tue, 12 Jul 2005 15:36:07 +0000 (15:36 +0000)]
replace leading spaces with a TAB
Paul Eggert [Mon, 11 Jul 2005 23:28:09 +0000 (23:28 +0000)]
(verify_expr): Use ((verify_type__ (R) *) 0), not
sizeof (verify_type__ (R)), to pacify C++ compilers.
Paul Eggert [Mon, 11 Jul 2005 21:59:08 +0000 (21:59 +0000)]
Reword copyright notices to conform to current GNU coding standards.
Paul Eggert [Mon, 11 Jul 2005 21:58:50 +0000 (21:58 +0000)]
Parameterize the copyright symbol and the year.
Paul Eggert [Mon, 11 Jul 2005 21:58:32 +0000 (21:58 +0000)]
(COPYRIGHT_YEAR): New constant.
(version_etc_va): Use parameterized copyright notice.
Reword to conform to the current GNU coding standards.