Jim Meyering
ca2c2c49bf
(AC_CONFIG_FILES): Remove tests/date/Makefile.
2005-08-13 17:34:22 +00:00
Jim Meyering
72c320dcb2
(SUBDIRS): Remove date.
2005-08-13 17:34:11 +00:00
Jim Meyering
d177820c9a
convert last batch of tests
2005-08-13 15:43:40 +00:00
Jim Meyering
d0c7a455fb
Use new ENV and ENV_DEL to support this latest batch of tests from
...
tests/date/Test.pm
2005-08-13 15:36:14 +00:00
Jim Meyering
0d7a17424c
New keywords, ENV and ENV_DEL, to support tests/misc/date.
2005-08-13 15:34:52 +00:00
Jim Meyering
db209f6c24
move a bunch of tests to ../misc/date
2005-08-13 14:45:45 +00:00
Jim Meyering
3d7ea6356b
more tests translated from ../date/Test.pm
2005-08-13 14:45:38 +00:00
Jim Meyering
9d610b26f8
move a bunch of tests to ../misc/date
2005-08-13 14:42:03 +00:00
Jim Meyering
9741a40764
add a bunch more tests
2005-08-13 14:41:39 +00:00
Jim Meyering
a6f5fa497d
move a handful of tests to ../misc/date
2005-08-13 14:33:48 +00:00
Jim Meyering
75c40d536f
more tests translated from ../date/Test.pm
2005-08-13 14:33:33 +00:00
Jim Meyering
1248f39fc8
*** empty log message ***
2005-08-13 14:08:29 +00:00
Jim Meyering
0b20b31116
(TESTS): Add date.
2005-08-13 14:08:26 +00:00
Jim Meyering
bb05ee39b8
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.
2005-08-13 14:07:18 +00:00
Jim Meyering
a3bde3aa18
(test_vector): Add 364 more tests like the above.
...
Remove unused $sunos4 variable.
2005-08-13 13:16:29 +00:00
Jim Meyering
ca55c7bf7f
*** empty log message ***
2005-08-13 13:07:49 +00:00
Jim Meyering
829444c02d
(test_vector) [cross-dst]: New test for just-fixed getdate.y bug.
2005-08-13 13:07:45 +00:00
Jim Meyering
9d8e8ad521
*** empty log message ***
2005-08-13 12:10:22 +00:00
Jim Meyering
0971b8d8a9
(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.
2005-08-13 12:10:05 +00:00
Jim Meyering
04de70c8d2
*** empty log message ***
2005-08-12 13:17:05 +00:00
Jim Meyering
320b71c4d3
(re_string_realloc_buffers): Rename local-shadowed
...
variable: s/new_array/offsets/.
(re_acquire_state) [lint]: Set *err, to avoid warnings in caller.
2005-08-12 13:16:47 +00:00
Jim Meyering
2e24888889
(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.
2005-08-12 13:16:26 +00:00
Jim Meyering
d7d1532698
(duplicate_node) [lint]: Set *new_idx to -1, to avoid
...
warnings (unfounded) in caller that it may be used uninitialized.
2005-08-12 13:10:17 +00:00
Jim Meyering
39a33e5f64
*** empty log message ***
2005-08-12 13:02:23 +00:00
Jim Meyering
956fd9d0d1
Mention that with FTS_LOGICAL, we use FTS_TIGHT_CYCLE_CHECK.
2005-08-12 13:02:17 +00:00
Jim Meyering
fe90fa6a61
(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 >.
2005-08-12 13:02:01 +00:00
Jim Meyering
6806c6a801
(fts_cross_check) [FTS_DEBUG]: s/active_dir_ht/fts_cycle.ht/.
2005-08-12 13:00:57 +00:00
Jim Meyering
fdaa1ce849
(IF_LINT): Define.
2005-08-12 12:41:56 +00:00
Jim Meyering
fa237b382f
(RE_SYNTAX_POSIX_AWK): Remove useless space-before-TAB.
2005-08-12 12:41:41 +00:00
Jim Meyering
b73e873367
*** empty log message ***
2005-08-12 08:25:57 +00:00
Jim Meyering
1442403a5d
(main): Explain why we reopen stdin for write-only access.
2005-08-12 08:25:52 +00:00
Jim Meyering
19b17d2ce6
*** empty log message ***
2005-08-12 08:22:50 +00:00
Jim Meyering
9a3ebcb54d
(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.
2005-08-12 08:22:47 +00:00
Jim Meyering
3623a168c4
*** empty log message ***
2005-08-12 08:18:25 +00:00
Jim Meyering
501d8ffe81
(sort_found_occurs, digest_word_file): Likewise.
...
(alloc_and_compile_regex): Likewise.
2005-08-12 08:18:18 +00:00
Jim Meyering
585c8e075b
(sort_files): Use cleaner sizeof *VAR_NAME' rather than sizeof (TYPE_NAME)'.
2005-08-12 08:17:54 +00:00
Jim Meyering
bbef1a2f19
*** empty log message ***
2005-08-12 08:08:04 +00:00
Jim Meyering
53a9b25dc2
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.
2005-08-12 08:08:00 +00:00
Jim Meyering
68b0358b66
*** empty log message ***
2005-08-12 08:06:56 +00:00
Jim Meyering
f6ab92093a
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.
2005-08-12 08:06:28 +00:00
Jim Meyering
75ae174b6a
*** empty log message ***
2005-08-12 07:57:16 +00:00
Jim Meyering
5f646f5315
(dc_parse_file): Remove comment about now-removed OPENOPTS.
2005-08-12 07:45:29 +00:00
Jim Meyering
c0c63502f0
*** empty log message ***
2005-08-12 07:29:59 +00:00
Jim Meyering
a370bc0aff
(main): Cosmetic: use X2REALLOC rather than x2realloc.
2005-08-12 07:29:51 +00:00
Jim Meyering
8c418c480c
(fold_file): Cosmetic: use X2REALLOC rather than x2realloc.
2005-08-12 07:29:38 +00:00
Jim Meyering
0b08c38152
Cosmetic: use X2NREALLOC (only two arguments) rather than x2nrealloc (with three).
2005-08-12 07:16:25 +00:00
Jim Meyering
6f7fd1a866
*** empty log message ***
2005-08-12 07:15:37 +00:00
Jim Meyering
aa830a0526
*** empty log message ***
2005-08-12 07:10:33 +00:00
Jim Meyering
e39102faca
adjust long lines
2005-08-12 07:10:22 +00:00
Jim Meyering
bdb22d1235
(main): Cosmetic: use '\0' in place of 0.
2005-08-12 07:09:47 +00:00