Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-11-03 | (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg of AC_DEFUN. | Jim Meyering | |
2001-11-03 | *** empty log message *** | Jim Meyering | |
2001-11-03 | (ARGMATCH_TO_ARGUMENT): Remove casts of first two args | Jim Meyering | |
in argmatch_to_argument call. | |||
2001-11-03 | *** empty log message *** | Jim Meyering | |
2001-11-03 | . | Jim Meyering | |
2001-11-03 | it's CFLAGS, not DEFS | Jim Meyering | |
2001-11-03 | fix indentation of cpp `#'s | Jim Meyering | |
2001-11-03 | . | Jim Meyering | |
2001-11-03 | *** empty log message *** | Jim Meyering | |
2001-11-03 | (dirfd): Reflect the fact that DIR_TO_FD now takes an argument. | Jim Meyering | |
2001-11-03 | (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to | Jim Meyering | |
know the name of the variable in the macro definition. | |||
2001-11-03 | *** empty log message *** | Jim Meyering | |
2001-11-03 | (hash_clear): Fix a bug that could lead to an infloop or | Jim Meyering | |
e.g., a fault due to an attempt to free a NULL pointer. | |||
2001-11-03 | *** empty log message *** | Jim Meyering | |
2001-11-03 | (DEV_INO_PUSH): Avoid unnecessary copies. | Jim Meyering | |
(dev_ino_pop): Likewise. | |||
2001-11-02 | *** empty log message *** | Jim Meyering | |
2001-11-02 | *** empty log message *** | Jim Meyering | |
2001-11-02 | (dev_ino_pop): Cast 2nd arg of obstack_blank to `int' | Jim Meyering | |
before negating to avoid warning from gcc on systems with 64-bit size_t. Rename global: s/trace_dirs/recursive/. (extract_dirs_from_files): Rename parameter: s/recursive/ignore_dot_and_dot_dot/. | |||
2001-11-02 | *** empty log message *** | Jim Meyering | |
2001-11-02 | *** empty log message *** | Jim Meyering | |
2001-11-02 | Use XREALLOC. It's cleaner. | Jim Meyering | |
2001-11-02 | Use XMALLOC in a several places. It's cleaner. | Jim Meyering | |
2001-11-02 | put `const' back, now that the .m4 test works | Jim Meyering | |
2001-11-02 | Use the replacement only if we have neither the function | Jim Meyering | |
nor a declaration. | |||
2001-11-01 | remove const | Jim Meyering | |
2001-11-01 | whoops | Jim Meyering | |
2001-11-01 | *** empty log message *** | Jim Meyering | |
2001-11-01 | Include dirfd.h. | Jim Meyering | |
(print_dir): If dirfd fails, resort to using stat. | |||
2001-11-01 | . | Jim Meyering | |
2001-11-01 | *** empty log message *** | Jim Meyering | |
2001-11-01 | (libfetish_a_SOURCES): Add dirfd.h. | Jim Meyering | |
2001-11-01 | . | Jim Meyering | |
2001-11-01 | *** empty log message *** | Jim Meyering | |
2001-11-01 | *** empty log message *** | Jim Meyering | |
2001-11-01 | use AC_HEADER_DIRECT and all the associated cruft | Jim Meyering | |
2001-11-01 | don't indent the #include directive | Jim Meyering | |
2001-11-01 | check for decl, too | Jim Meyering | |
2001-11-01 | *** empty log message *** | Jim Meyering | |
2001-11-01 | (jm_MACROS): Require UTILS_FUNC_DIRFD. | Jim Meyering | |
2001-11-01 | (UTILS_FUNC_DIRFD): New macro. | Jim Meyering | |
2001-11-01 | *** empty log message *** | Jim Meyering | |
2001-11-01 | (hash_print) [TESTING]: Clean up. | Jim Meyering | |
2001-11-01 | Redirect cmp's stderr to /dev/null. | Jim Meyering | |
2001-11-01 | *** empty log message *** | Jim Meyering | |
2001-11-01 | (struct pending) [st_ino, st_dev]: Remove just-added members. | Jim Meyering | |
(queue_directory): Remove just-added 3rd parameter and associated code, and update callers. (print_dir): Get dev/inode pair via `fstat (dirfd (reading), ...', and call visit_dir to detect cycles here. Push the dev/inode pair onto the new stack. (dev_ino_obstack): New global. (DEV_INO_PUSH): New macro. (dev_ino_pop): New function. (ASSERT_MATCHING_DEV_INO): New macro. (visit_dir): Take two parameters (dev,ino), not one `pending'. (main): Initialized the dev_ino_obstack. Don't call visit_dir here. Get the dev/ino pair from the new stack, not from the pending entry. | |||
2001-11-01 | *** empty log message *** | Jim Meyering | |
2001-11-01 | Make ls -R detect directory cycles. | Jim Meyering | |
Include hash.h, same.h, and xalloc.h. (INITIAL_TABLE_SIZE, LOOP_DETECT): Define. (active_dir_set): New global. (struct dev_ino): Declare. (dev_ino_hash, dev_ino_compare, dev_ino_free): New functions. (visit_dir, free_pending_ent): New functions. (main): Initialize the active_dir_set hash table, if necessary. Don't confuse a marker entry with a real one. Detect loops. Manage the set of active directories. Free the hash table. (queue_directory): Add a new parameter. Ensure that we set the new dev/ino members for each enqueued directory. Update all callers. (print_dir): Don't confuse a marker entry with a real one. (extract_dirs_from_files): Insert a marker entry before inserting the entries for subdirectories. | |||
2001-11-01 | *** empty log message *** | Jim Meyering | |
2001-11-01 | (TESTS): Add dired. | Jim Meyering | |
2001-11-01 | Don't try to print a NULL pointer. | Jim Meyering | |
(main): Don't use ARGMATCH_TO_ARGUMENT. This reverts part of the 1998-12-31 change. |