Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-11-17 | (tail_forever): Add a cast. | Jim Meyering | |
2001-11-17 | Remove `unsigned' attribute from type of global `prefix'. | Jim Meyering | |
(copy_rest): Cast to (unsigned char *) before dereferencing. (get_prefix): Likewise. | |||
2001-11-14 | (file_lines): Remove unnecessary cast. | Jim Meyering | |
(tail_lines): Could have called file_lines even though the first lseek failed. Fix that. | |||
2001-11-13 | split a line that was too long | Jim Meyering | |
2001-11-13 | (file_lines): Add a parameter, start_pos. | Jim Meyering | |
Work properly even when the read pointer is not at beginning of file. (tail_lines): Call file_lines for any regular file, as long as lseek can be used to seek to its end, not just when the initial read pointer is at beginning of file. | |||
2001-11-13 | (tail_lines): Move declaration of local `length' into scope where it's used. | Jim Meyering | |
(tail_file): Likewise for local `stats'. | |||
2001-11-13 | `tail /proc/ksyms' would segfault on Linux. | Jim Meyering | |
(tail_lines): Use status of lseek (...SEEK_END) call in deciding whether to call file_lines or pipe_lines. From Herbert Xu. | |||
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
2001-11-11 | (struct tspec): Declare function pointer with prototype. | Jim Meyering | |
2001-11-11 | (main): Declare function pointer with prototype. | Jim Meyering | |
2001-11-11 | (usage): Fix typo in last change to usage. | Jim Meyering | |
2001-11-11 | (count_items): Mark parameter as unused. | Jim Meyering | |
2001-11-11 | (struct_month_cmp): Guard definition with the same | Jim Meyering | |
cpp directive that guards the use. | |||
2001-11-11 | (xwrite): Remove assertion that size_t N >= 0. | Jim Meyering | |
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-11 | (main, usage): Split --help output into smaller pieces. | Jim Meyering | |
2001-11-11 | (struct COLUMN) [print_func]: Declare as a protype. | Jim Meyering | |
(struct COLUMN) [char_func]: Declare as a protype. | |||
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-11 | (parse_old_offset): Declare to be static. | Jim Meyering | |
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
2001-11-11 | (make_blank): Declare to be static. | Jim Meyering | |
(prfield): Declare local to be of type size_t, not int. | |||
2001-11-11 | (make_blank): Declare to be static. | Jim Meyering | |
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-11 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-11-11 | (alloca) [__GNUC__]: Define only if not already defined. | Jim Meyering | |
2001-11-10 | (proc_text): Use `puts' to output a string of spaces, not printf. | Jim Meyering | |
2001-11-10 | (usage): Document %u. | Jim Meyering | |
2001-11-06 | Remove duplicate entry for .png. | Jim Meyering | |
2001-11-05 | (usage): Don't recommend setting LC_COLLATE=C. | Jim Meyering | |
That can cause problems (now documented in coreutils.texi). | |||
2001-11-04 | (usage): Say that | Jim Meyering | |
``Mandatory arguments to long options are mandatory for short options too.\n\'' | |||
2001-11-04 | (usage): Add one-line description. | Jim Meyering | |
2001-11-03 | (DEV_INO_PUSH): Avoid unnecessary copies. | Jim Meyering | |
(dev_ino_pop): Likewise. | |||
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 | Use XREALLOC. It's cleaner. | Jim Meyering | |
2001-11-02 | Use XMALLOC in a several places. It's cleaner. | Jim Meyering | |
2001-11-01 | Include dirfd.h. | Jim Meyering | |
(print_dir): If dirfd fails, resort to using stat. | |||
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 | 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. |