summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-12-14[! HAVE_DECL_MEMRCHR]: Declare memrchr.Jim Meyering
This is necessary at least for Irix6.5 when using c89. Reported by Nelson Beebe.
2002-12-14(usage): Specify how major and minor mode numbers are interpreted.Jim Meyering
Remove now-redundant usage-specifying comment.
2002-12-11Fix a bug whereby cp would fail to parse an option likeJim Meyering
--preserve=mode,ownership. (decode_preserve_arg): Advance `comma' to point the character following the comma.
2002-12-11(NEED_PATHCONF_WRAPPER): Undefine before defining,Jim Meyering
in case it's already defined.
2002-12-08(lstat) [! LSTAT_FOLLOWS_SLASHED_SYMLINK]:Jim Meyering
Define to rpl_lstat, so that even on systems like Solaris 5.8, du honors (per POSIX) the trailing slash on an argument referring to a symlink-to-directory.
2002-12-06.Jim Meyering
2002-12-06(gobble_file): Also stat the file if it's aJim Meyering
regular file and --indicator-style=classify (aka -F).
2002-12-06.Jim Meyering
2002-12-06.Jim Meyering
2002-12-03regenerate using automake-1.7.1bJim Meyering
2002-12-03no more ansi2nkrJim Meyering
2002-12-03(AUTOMAKE_OPTIONS): Remove definition (to ansi2knr)Jim Meyering
since this package no longer panders to K&R compilers.
2002-12-01Don't include <ctype.h>.Jim Meyering
That's already done via system.h.
2002-12-01Don't include <string.h> or <ctype.h>.Jim Meyering
That's already done via system.h.
2002-12-01ls is now more efficient: it no longer needs to stat each directoryJim Meyering
entry on systems with valid dirent.d_type. (print_dir): Add DT_LNK and DT_REG. (main): Make --recursive set format_needs_type, not format_needs_stat. (gobble_file): Remove a FIXME comment, now that this is fixed.
2002-12-01(gobble_file): Remove the block of code that causedJim Meyering
`ls --color -F symlink-to-dir' to list the files in `symlink-to-dir/.'. Now, it prints `symlink-to-dir@', (just like `ls -F symlink-to-dir') but with the addition of highlighting.
2002-11-24More clean-up, not that / means /.Jim Meyering
2002-11-24(du_files): Don't strip any trailing slash.Jim Meyering
Rewrite so that `/' is no longer represented internally as the empty string. (count_entry): When appending a file name component, account for the fact that the current path may end in `/'. François Pinard reported that `du symlink-to-dir/' was not equivalent to `du symlink-to-dir/.'. Now it is.
2002-11-23.Jim Meyering
2002-11-23(decode_switches): Use case-sensitive matching toJim Meyering
decode the QUOTING_STYLE environment variable. This is more consistent with the documentation, and with --quoting-style.
2002-11-23(output): Declare some local variables to be of type size_t,Jim Meyering
rather than `int' to avoid warnings from gcc.
2002-11-21stty doesn't support all baud rates available in current Linux kernels.Jim Meyering
When trying to set a high baud rate using stty, it says "invalid argument". When the high rate is already configured, "stty -a" returns 0 instead of the true baud rate. (struct speeds): Add support for all baud rates defined in linux-2.4.19.
2002-11-17(movefile): Don't remove trailing slashes from SOURCE.Jim Meyering
2002-11-15.Jim Meyering
2002-11-12(HAVE_SYMLINKS): Remove unnecessary macro definition.Jim Meyering
Replace sole use with equivalent `#ifdef S_ISLNK'. Inconsistency reported by Dmitry V. Levin.
2002-11-10(usage): Transform --help output via s/ - / /,Jim Meyering
so that help2man produces properly formatted man pages.
2002-11-10(sighandler): Handle SIGTSTP specially.Jim Meyering
Based on suggestions from Solar Designer and Dmitry V. Levin. Add comments.
2002-11-10(restore_default_color_handler, sigtstp_handler): Remove functions.Jim Meyering
(sighandler): New function, based on the one in sort.c. (main): Use sigaction, if possible; otherwise signal. Handle these signals: SIGHUP, SIGINT, SIGPIPE, SIGQUIT, SIGTERM, SIGTSTP. Don't register our handler if the signal is already being ignored.
2002-11-10(main): Also declare `i' to be unsigned, not int.Jim Meyering
2002-11-10(sighandler): Use raise, rather than kill+getpid.Jim Meyering
(main): Declare `nsigs' to be unsigned, not int.
2002-11-10(interrupt_handler): Use raise, rather than kill+getpid.Jim Meyering
2002-11-10(interrupt_handler): Use raise, rather than kill+getpid.Jim Meyering
2002-11-09correct indentationJim Meyering
2002-11-09ls --color: restore terminal state (color) upon signal.Jim Meyering
Include "full-write.h" and <signal.h>. (restore_default_color, restore_default_color_handler): New functions. (sigtstp_handler, put_indicator_direct): New functions. (main) [print_with_color]: Register signal handlers. Patch mostly by Solar Designer and Stanislav Ievlev.
2002-11-08(human_output_opts): New var.Jim Meyering
(output_block_size): Now uintmax_t, not int, to handle larger block sizes. All uses changed.
2002-11-08(print_header): Use primitives from inttostr.h, notJim Meyering
human.h, to print large numbers simply. (human_output_opts): New var. (output_block_size): Now uintmax_t, not int, to handle larger block sizes. All uses changed. (print_header): In the header line, prefer SI to human representation if it's shorter; if neither is shorter, try to intuit what the user would prefer.
2002-11-06.Jim Meyering
2002-11-06(print_long_format, print_file_name_and_frills):Jim Meyering
Use primitives from inttostr.h, not human.h, to print large numbers simply. (human_output_opts): New var. (output_block_size): Now uintmax_t, not int, to handle larger block sizes. All uses changed. (file_output_block_size): New var, to distinguish file sizes from other sizes. (decode_switches): Set it.
2002-11-06(usage): Update description.Jim Meyering
2002-11-06(print_esc): Hexadecimal \xhh escapes may haveJim Meyering
at most two hex. digits, not three.
2002-11-05(inttostr): Remove; use new imaxtostr library function instead.Jim Meyering
2002-11-05(checkfp): Use primitives from inttostr.h, not human.h,Jim Meyering
to print large numbers simply.
2002-11-05(bsd_sum_file, sysv_sym_file):Jim Meyering
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05(xlseek):Jim Meyering
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05(write_counts, wc):Jim Meyering
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05(dopass):Jim Meyering
Use primitives from inttostr.h, not human.h, to print large numbers simply. (OUTPUT_BLOCK_SIZE): remove. (dopass): When printing progress, use floor for what has been done so far (since we should be conservative there), and ceiling for what needs to be done (since that's what other programs use).
2002-11-05(print_factors):Jim Meyering
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05(print_stats, main):Jim Meyering
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05(handle_line_error, parse_patterns):Jim Meyering
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-11-05(cksum): Use primitives from inttostr.h, notJim Meyering
human.h, to print large numbers simply.