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
Jim Meyering
a93af329ba
.
2005-08-12 06:54:24 +00:00
Jim Meyering
dfc27ade53
*** empty log message ***
2005-08-12 06:50:29 +00:00
Jim Meyering
74b0f6edde
(cp invocation, mv invocation): Remove square
...
brackets in --reply=[HOW]. Reported by Oscar Liljeblad.
2005-08-12 06:49:48 +00:00
Jim Meyering
0508157932
.
2005-08-02 21:15:19 +00:00
Jim Meyering
ef1fad923f
Include "xanstrftime.h".
...
(show_date): Use xanstrftime instead of open-coding it.
2005-08-02 20:53:32 +00:00
Jim Meyering
a930898d64
*** empty log message ***
2005-08-02 20:52:49 +00:00
Jim Meyering
7a44d1f860
Include "xanstrftime.h".
...
(show_date): Use xanstrftime instead of open-coding it.
2005-08-02 20:52:44 +00:00
Jim Meyering
959af4cc75
*** empty log message ***
2005-08-02 20:49:08 +00:00
Jim Meyering
22f8ee8ad1
Require gl_FUNC_XANSTRFTIME.
2005-08-02 20:48:58 +00:00
Jim Meyering
309ee82143
*** empty log message ***
2005-08-02 20:48:15 +00:00
Jim Meyering
c5739dcf8e
*** empty log message ***
2005-08-02 20:47:46 +00:00
Jim Meyering
8822b68f9e
new files
2005-08-02 20:47:37 +00:00
Jim Meyering
e568ad3e45
*** empty log message ***
2005-08-02 20:44:46 +00:00
Jim Meyering
eed7b13805
(show_date): Remove now-unnecessary code that
...
treated an empty format string as a special case.
2005-08-02 20:44:38 +00:00
Jim Meyering
73ebfeb75a
(empty-format): New test, for this case.
2005-08-02 20:44:09 +00:00
Paul Eggert
afc5f72438
Import regex.m4 from gnulib.
2005-07-25 19:29:51 +00:00
Paul Eggert
55a6eee63c
(gl_INCLUDED_REGEX): Use AC_RUN_ELSE instead of the
...
obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
2005-07-25 19:29:34 +00:00
Paul Eggert
317a0f7a07
Fix getdate bug with relative times.
2005-07-21 22:00:55 +00:00
Paul Eggert
217cd893ef
(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.
2005-07-21 22:00:34 +00:00
Paul Eggert
842bd54edb
(gl_C_COMPOUND_LITERALS): New macro.
...
(gl_GETDATE): Use it.
2005-07-21 22:00:06 +00:00
Jim Meyering
f4980f5997
*** empty log message ***
2005-07-19 11:10:43 +00:00
Jim Meyering
27cc9e65d2
(usage): Adjust printf argument list to match new format string.
2005-07-19 11:10:35 +00:00