Commit Graph
17475 Commits
Author SHA1 Message Date
Jim Meyering 3289e8a8ec *** empty log message *** 2003-12-21 07:51:37 +00:00
Jim Meyering 5e9e6c75e7 *** empty log message *** 2003-12-21 07:51:23 +00:00
Jim Meyering c74f99c571 *** empty log message *** 2003-12-20 18:08:11 +00:00
Jim Meyering e164c2bbeb [!_LIBC]: Undefine, then define-away __P. 2003-12-20 18:08:02 +00:00
Jim Meyering deaf944ceb . 2003-12-20 17:59:15 +00:00
Jim Meyering 5a1305abb4 . 2003-12-20 17:58:46 +00:00
Jim Meyering 0ea4558007 *** empty log message *** 2003-12-20 17:57:35 +00:00
Jim Meyering c9e16ed123 Don't require UTILS_SYS_OPEN_MAX. 2003-12-20 17:57:30 +00:00
Jim Meyering c26ec64a0b *** empty log message *** 2003-12-20 17:55:18 +00:00
Jim Meyering b904a67dc8 (UTILS_SYS_OPEN_MAX): Remove file. No longer used. 2003-12-20 17:55:13 +00:00
Jim Meyering 01fc0cb461 *** empty log message *** 2003-12-20 16:51:55 +00:00
Jim Meyering 31361deb52 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
value, $ac_cv_search_crypt, if it's "none required".
2003-12-20 16:51:51 +00:00
Jim Meyering 6ff0bf52e2 Change type of global, buff_allocated, to size_t. 2003-12-20 16:44:12 +00:00
Jim Meyering 18c313d563 [struct seq]: Change types of members count and alloc
from `int' to `size_t'.
2003-12-20 16:41:54 +00:00
Jim Meyering f4bebc82bb *** empty log message *** 2003-12-20 16:36:04 +00:00
Jim Meyering 38fe0df54d [!_LIBC]: Define __P. 2003-12-20 16:35:59 +00:00
Jim Meyering d039892e8f . 2003-12-20 13:06:25 +00:00
Jim Meyering 13a732ea73 remove /vg 2003-12-20 13:06:12 +00:00
Jim Meyering af1df22b42 . 2003-12-20 11:39:08 +00:00
Jim Meyering 10f46a9857 . 2003-12-20 11:38:12 +00:00
Jim Meyering d19241453e . 2003-12-20 11:32:52 +00:00
Jim Meyering 41c9f774a8 . 2003-12-20 11:32:45 +00:00
Jim Meyering b3711e549a *** empty log message *** 2003-12-20 11:32:38 +00:00
Jim Meyering ce2ec20ca3 (root-hint): Tweak wording. 2003-12-20 11:32:32 +00:00
Jim Meyering 4adc127426 *** empty log message *** 2003-12-20 11:30:55 +00:00
Jim Meyering ee1a768122 Accept new option (-0, --null) that makes it so each
output line is NUL-terminated rather than newline-terminated.
2003-12-20 11:29:30 +00:00
Jim Meyering 340b33464a (du invocation): Describe new option: -0, --null. 2003-12-20 11:28:14 +00:00
Jim Meyering e08866d436 *** empty log message *** 2003-12-20 09:34:49 +00:00
Jim Meyering 701926715a New test for the above. 2003-12-20 09:34:25 +00:00
Jim Meyering d22a3e0af9 (TESTS): Add unblock-sync. 2003-12-20 09:33:58 +00:00
Jim Meyering adc5058db2 (apply_translations): Don't prohibit conv=unblock,sync. 2003-12-20 09:23:19 +00:00
Jim Meyering 072ddb1147 *** empty log message *** 2003-12-20 09:23:08 +00:00
Jim Meyering 1d6665c978 *** empty log message *** 2003-12-20 09:21:17 +00:00
Jim Meyering a086112e73 Duh. Fix last change. 2003-12-19 22:30:14 +00:00
Jim Meyering 6f438344f1 *** empty log message *** 2003-12-19 21:48:41 +00:00
Jim Meyering ddf8b7b638 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME if no library is required. 2003-12-19 21:48:35 +00:00
Jim Meyering 02dd87543e *** empty log message *** 2003-12-19 16:13:34 +00:00
Jim Meyering 5b4206c914 Double quote back-ticked expression,
in case it ends up having an unexpected value.
2003-12-19 16:13:28 +00:00
Jim Meyering 3d8e62a14b *** empty log message *** 2003-12-19 13:15:27 +00:00
Jim Meyering 8f4b3c1b4f Use ls's -1 option in both runs. 2003-12-19 13:15:23 +00:00
Jim Meyering 7cc2e159d1 *** empty log message *** 2003-12-19 12:55:49 +00:00
Jim Meyering bcb7e37261 . 2003-12-19 12:53:40 +00:00
Jim Meyering 70266a8783 *** empty log message *** 2003-12-19 12:53:25 +00:00
Jim Meyering 55186d55b0 (FTS_CROSS_CHECK, DEBUG_OPT): Define.
(main): Make fts use FTS_TIGHT_CYCLE_CHECK.
(main) [DU_DEBUG]: Accept -d option.
2003-12-19 12:52:33 +00:00
Jim Meyering 16972646cf Don't include <search.h>.
[HAVE_INTTYPES_H]: Include <inttypes.h>.
(tdestroy, tfind, tsearch): Remove definitions.
(struct Active_dir): Rename from `known_object'.
(AD_compare, AD_hash): New functions.
(enter_dir, leave_dir): Rewrite to manipulate a hash table
rather than a tree.
(fts_open): Initialize hash table or cycle_state buffer.
(free_node): Remove function.
(find_matching_ancestor): Renamed/rewritten from look_up_active_dir.
(fts_cross_check): Adapt to use new data structure.
2003-12-19 12:50:33 +00:00
Jim Meyering 7f49957342 Include hash.h and cycle-check.h.
(FTS_TIGHT_CYCLE_CHECK): New value.
(FTS_OPTIONMASK): Adjust to include the new value.
(FTS_NAMEONLY, FTS_STOP): Increase to allow room for new value.
(struct FTS) [active_dir_ht]: New member.  Replaces fts_dir_signatures.
(struct FTS) [cycle_state]: New member.
2003-12-19 12:40:05 +00:00
Jim Meyering 38e0d07456 (libfetish_a_SOURCES): Remove search_.h.
(DISTCLEANFILES): Remove definition.
2003-12-19 12:34:35 +00:00
Jim Meyering 56fef712cf Rewrite cycle detection code to work properly.
Add some framework (compiled out by default) to test it.

(Dprintf, ENTER_DIR, LEAVE_DIR): Define.
(add_object): Remove function.  Rewritten as...
(enter_dir): New function.
(leave_dir, free_node): New functions.
(fts_read): Ensure that we call ENTER_DIR or LEAVE_DIR,
as appropriate, before returning.
(look_up_active_dir, fts_cross_check) [FTS_DEBUG]: New functions.
(fts_stat): Don't perform the cycle check here.
Now it's done via enter_dir.
2003-12-18 21:11:11 +00:00
Jim Meyering 628c1e33a6 *** empty log message *** 2003-12-18 17:15:47 +00:00
Jim Meyering 513aae0e6a (format_user): Increment dired_pos via two statements,
`dired_pos += width; dired_pos++;' rather than one,
`dired_pos += width + 1;' since the latter could conceivably overflow.
(format_group): Likewise.
2003-12-18 17:15:38 +00:00