Commit Graph
20330 Commits
Author SHA1 Message Date
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
Jim Meyering 4679a73192 *** empty log message *** 2003-12-18 10:39:50 +00:00
Jim Meyering 35998d368f . 2003-12-18 10:39:35 +00:00
Jim Meyering 63b84fa7c1 Require automake-1.8. 2003-12-18 10:39:26 +00:00
Jim Meyering d46798e6aa . 2003-12-18 10:38:45 +00:00
Jim Meyering 2e1934cb77 . 2003-12-18 10:38:22 +00:00
Jim Meyering a5d08fb15d *** empty log message *** 2003-12-18 10:33:49 +00:00
Jim Meyering b36b20d24d (jm_PREREQ): Require AC_FUNC_GETLOADAVG, not gl_FUNC_GETLOADAVG. 2003-12-18 10:33:39 +00:00
Jim Meyering 117a62aa37 Remove now-unnecessary file. 2003-12-18 10:31:00 +00:00
Jim Meyering 501bc93bb3 (AC_ISC_POSIX): Remove file/macro. No longer needed. 2003-12-18 10:15:13 +00:00
Jim Meyering 8b68994571 *** empty log message *** 2003-12-18 10:08:46 +00:00
Jim Meyering 7ec843cfd2 (AC_SEARCH_LIBS): Remove file/macro, now that
this replacement is no longer needed.  Besides, this macro has
no effect with autoconf-2.58, since its `undefine' is not honored.
2003-12-18 10:08:32 +00:00
Jim Meyering 6b963304ff add FIXME 2003-12-12 05:43:17 +00:00
Jim Meyering dbbf897562 (FTS) [fts_dir_signatures]: Add comment. 2003-12-12 05:41:29 +00:00
Jim Meyering 057d6add25 *** empty log message *** 2003-12-12 04:56:03 +00:00
Jim Meyering b44464be69 . 2003-12-12 04:55:00 +00:00
Jim Meyering 6a24a621cb *** empty log message *** 2003-12-08 10:17:27 +00:00
Jim Meyering 5e912b475a (news-date-check): New rule.
(alpha beta major): Depend on it.
2003-12-08 10:17:16 +00:00
Jim Meyering 2288fdf91e add release dates 2003-12-08 10:16:26 +00:00
Jim Meyering 91adac3eab Don't assume that 'ls' output is fixed-width. 2003-12-08 09:04:48 +00:00
Jim Meyering 710dca5363 Don't assume that 'ls' output is fixed-width. 2003-12-08 09:03:51 +00:00
Jim Meyering a6616a3786 * NEWS: ls -l (and similar options) now adjust all columns to
fit the data.  Generalized from a suggestion by Leah Q for file sizes.
2003-12-08 08:38:37 +00:00
Jim Meyering db98a73a39 *** empty log message *** 2003-12-08 08:38:33 +00:00
Jim Meyering a8404d3cf8 *** empty log message *** 2003-12-08 08:37:41 +00:00
Jim Meyering 131083bdbc (What information is listed, chroot invocation):
Adjust example 'ls' output to match new behavior with narrower
output columns.
(The cut command): Remove example that cut the output of
'ls -l'.  The output was incorrect even with the old 'ls', and
the whole idea of using 'cut' on 'ls -l' output is bogus anyway.
2003-12-08 08:37:36 +00:00
Jim Meyering f8822b3232 *** empty log message *** 2003-12-08 08:36:20 +00:00
Jim Meyering a010053815 (INODE_DIGITS, LOGIN_NAME_MAX, ID_LENGTH_MAX): Remove.
(format_user_width, format_group_width, unsigned_file_size,
format_group): New functions.
(block_size_width): Renamed from block_size_size.
(inode_number_width, nlink_width, owner_width, group_width,
author_width, major_device_number_width, minor_device_number_width,
file_size_width): New vars.
(clear_files): Initialize them.
(gobble_file): Set them.  Don't ceiling block_size_width to 7.
(print_long_file): Use them.
(gobble_file): Use a new local variable 'f' to make the code
smaller and more consistent with other functions.
(format_user): Output to stdout, not to a buffer, so that we
don't have to worry about buffer overrun.  Update dired_pos.
(print_long_file): Don't put owner, group, author into buffer;
just print them directly.  Don't assume link counts and
major and minor numbers fit into unsigned long int.
From Paul Eggert.
2003-12-08 08:34:40 +00:00
Jim Meyering 8a0f4de82a . 2003-12-03 10:32:34 +00:00
Jim Meyering 8954da8514 *** empty log message *** 2003-12-03 10:31:55 +00:00
Jim Meyering a146b69be1 . 2003-12-03 10:31:37 +00:00
Jim Meyering 554a8298c9 *** empty log message *** 2003-12-03 10:28:45 +00:00
Jim Meyering 54594d2b21 (getgroups): xmalloc takes one argument, not two. 2003-12-03 10:28:39 +00:00
Jim Meyering d82b470324 *** empty log message *** 2003-12-02 10:06:55 +00:00
Jim Meyering 5c72eac595 Include sha1.h (reflect renaming: sha.h -> sha1.h. 2003-12-02 10:06:36 +00:00
Jim Meyering 442c5295fc . 2003-12-02 09:30:35 +00:00
Jim Meyering c0efef3c7f *** empty log message *** 2003-12-02 09:08:27 +00:00
Jim Meyering 4797f7f440 Use SHA1_H, not _SHA_H in #ifndef condition. 2003-12-02 09:08:16 +00:00
Jim Meyering 5dd50e5eb3 . 2003-12-02 09:06:54 +00:00
Jim Meyering 83e15c483a renamed to sha1.h 2003-12-02 09:06:24 +00:00
Jim Meyering 51f4a36e98 renamed to sha1.c 2003-12-02 09:06:18 +00:00
Jim Meyering aec463c0f3 File renamed from sha.h. 2003-12-02 09:05:50 +00:00
Jim Meyering a87fa9b8c3 File renamed from sha.c.
Include sha1.h, not sha.h.
2003-12-02 09:05:40 +00:00
Jim Meyering e806d25647 Reflect sha -> sha1 renaming. 2003-12-02 08:59:47 +00:00
Jim Meyering 1491869c38 . 2003-12-02 08:57:48 +00:00
Jim Meyering 6a58c5e0e0 Add FSF Copyright. 2003-12-02 08:57:39 +00:00
Jim Meyering 52a18b9571 *** empty log message *** 2003-12-02 08:55:36 +00:00