summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1997-12-25(_GNU_SOURCE): Define only if not already defined.Jim Meyering
1997-12-25.Jim Meyering
1997-12-25.Jim Meyering
1997-12-25(get_ids): Don't cast GID_T_MAX to long, it might overflow.Jim Meyering
1997-12-25(skip): Compare lseek return value with -1 to allow itJim Meyering
to be negative as signed value.
1997-12-25Declare stpcpy only if not defined as macro.Jim Meyering
1997-12-25(S_ISLNK): Define this instead of S_ISDIR.Jim Meyering
1997-12-25Declare stpcpy only if not defined as macro.Jim Meyering
1997-12-25Declare stpcpy only if not defined as macro.Jim Meyering
1997-12-25Include <string.h> if available.Jim Meyering
1997-12-25(copy_internal): Use S_ISLNK only if defined.Jim Meyering
1997-12-24.Jim Meyering
1997-12-21*** empty log message ***Jim Meyering
1997-12-21.Jim Meyering
1997-12-21s/__P/PARAMS/Jim Meyering
1997-12-21*** empty log message ***Jim Meyering
1997-12-21s/__P/PARAMS/Jim Meyering
1997-12-21Don't include limits.h.Jim Meyering
1997-12-21Don't include limits.h.Jim Meyering
1997-12-21Don't include limits.h or sys/param.h.Jim Meyering
1997-12-21Don't include limits.h.Jim Meyering
These are all done in system.h now.
1997-12-21Don't include limits.h.Jim Meyering
(UINT_MAX): Don't define. (INT_MAX): Don't define. These are all done in system.h now.
1997-12-21.Jim Meyering
1997-12-21*** empty log message ***Jim Meyering
1997-12-21Use PARAMS, not __P.Jim Meyering
1997-12-21*** empty log message ***Jim Meyering
1997-12-21increment serial numberJim Meyering
1997-12-21increment serial numberJim Meyering
1997-12-21increment serial numberJim Meyering
1997-12-21Fix reversed types on -1 args to chown.Jim Meyering
From Kaveh Ghazi.
1997-12-21.Jim Meyering
1997-12-21*** empty log message ***Jim Meyering
1997-12-21Include exclude.h.Jim Meyering
(exclude): New static var. (long_options, usage, main): Add --exclude and --exclude-from or -X. (count_entry): Skip excluded entries.
1997-12-21remove FIXME-describe commentsJim Meyering
1997-12-21add FIXME-describe commentsJim Meyering
1997-12-21Include exclude.h.Jim Meyering
(exclude): New static var. (long_options, usage, main): Add --exclude and --exclude-from or -X. (count_entry): Skip excluded entries.
1997-12-21(libfu_a_SOURCES): Add exclude.c.Jim Meyering
(noinst_HEADERS): Add exclude.h.
1997-12-21.Jim Meyering
1997-12-21.Jim Meyering
1997-12-21Use PARAMS, not __P.Jim Meyering
1997-12-21(rpl_chown): Rename from chown.Jim Meyering
Undefine chown just after including config.h. Include sys/stat.h. Use correct ordering of uid and gid parameters both in function definition and in call to chown. With patches from Kaveh Ghazi.
1997-12-16s/__P/PARAMS/gJim Meyering
1997-12-16*** empty log message ***Jim Meyering
1997-12-16s/__P/PARAMS/g.Jim Meyering
1997-12-16*** empty log message ***Jim Meyering
1997-12-16s/__P/PARAMS/gJim Meyering
1997-12-16.Jim Meyering
1997-12-16*** empty log message ***Jim Meyering
1997-12-16tweak indentationJim Meyering
1997-12-16(struct bin_str): Make len int, not unsigned, to avoidJim Meyering
bogus comparison < 0. (quote_filename): Add forward decl. (decode_switches): -b, -e, -N, -Q are now mutually exclusive. (print_dir): Quote directory name as per quoting options. (print_long_format): Don't count color changes as part of file name. (quote_filename): Revamp interface: now accepts stream to output to and filename, and returns length of quoted filename. This removes duplicated code and should make errors less likely. Also, no longer mallocs storage. All callers changed. Don't quote ' ' if -Q. (OUTCHAR): New macro. (SAVECHAR, SAVE_2_CHARS): Remove. (print_name_with_quoting): New stack arg. All callers changed. (print_color_indicator): Cast ext len to size_t to avoid warning with GCC 2.8. (length_of_file_name_and_frills): Rewrite to use quote_filename. This fixes bug when computing file name length with -e. 1997-12-14 Paul Eggert <eggert@twinsun.com> Add shell style quoting, and make it the default. * NEWS, doc/fileutils.texi: Describe -e, which is now the default. Describe change to --dired output. * src/ls.c (quote_shell): New var. (long_options, decode_switches, usage): New option -e or --quote-shell. (dired_dump_obstack): New arg STYLE. (main): Pass quoting style to dired_dump_obstack. (decode_switches): -N now clears quote_as_string. (quote_filename): Add shell style quoting.