summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-01-04[S_ISLNK, S_ISFIFO, S_ISSOCK]: Don't define.Jim Meyering
They're already defined in sys2.h.
2003-01-04remove blank lineJim Meyering
2003-01-04(count_entry) [S_ISLNK]: Don't define.Jim Meyering
It's already defined in sys2.h.
2003-01-04[S_ISLNK]: Don't define. It's already defined in sys2.h.Jim Meyering
2003-01-03Add copyright.Jim Meyering
(AUTHORS): I suppose I've written it.
2003-01-03(false.c): Make the generated file be read-only.Jim Meyering
2003-01-03(do_copy): Tweak diagnostic to be consistent with the oneJim Meyering
from mv: s/missing file arguments/missing file argument/. With --target-directory=DIR, cp and mv work with a single file argument. Reported by Karl Berry.
2003-01-03Include "dev-ino.h".Jim Meyering
[struct dev_ino]: Remove declaration.
2002-12-21.Jim Meyering
2002-12-20(touch): Change the wording of a diagnostic soJim Meyering
that it makes sense both when the file exists and when it doesn't.
2002-12-18(valid_options): Declare to be static.Jim Meyering
2002-12-15Remove all uses of `PARAMS'.Jim Meyering
2002-12-15(PARAMS): Remove definition.Jim Meyering
2002-12-15(PARAMS): Remove definition.Jim Meyering
2002-12-15Remove declaration of nstrftime.Jim Meyering
Include strftime.h instead.
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.