From 08b3d2975e0794a302393d964e86529d9e40dd36 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 16 Dec 1997 15:13:06 +0000 Subject: [PATCH] *** empty log message *** --- old/fileutils/ChangeLog | 45 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog index 7bb2613..b7ee3d7 100644 --- a/old/fileutils/ChangeLog +++ b/old/fileutils/ChangeLog @@ -1,10 +1,51 @@ +1997-12-15 Paul Eggert + + * ls.c (struct bin_str): Make len int, not unsigned, to avoid + 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-15 Jim Meyering + + * tests/rm/deep-1 (deep): Remove `find > k' debugging remnant. + +1997-12-14 Paul Eggert + + 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. + 1997-12-14 Jim Meyering - * src/system.h: Remove lseek and memchr dcls. - * src/sys2.h: Put them here instead. + * tests/ln/sf-1: Make sure we get diagnostics in English. * Version 3.16g. + * src/system.h: Remove lseek and memchr dcls. + * src/sys2.h: Put them here instead. + * src/rm.c (ASSIGN_STRDUPA): Cast alloca return value to char*. * lib/hash.h: s/HAVE_DECLARATION_/HAVE_DECL_/. -- 2.7.4