From 79aba863ce1e9ce1bb8d7e852204806689f71a7c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 23 Apr 2006 21:48:27 +0000 Subject: *** empty log message *** --- ChangeLog | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e62718540..60610473d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,28 @@ -2006-04-18 Paul Eggert +2006-04-23 Francesco Montorsi * Version 6.0-cvs. + New option for ls: --group-directories-first. + It makes ls list directories before files. + * NEWS [New features]: Mention it. + * src/ls.c (sort_type): Rearrange to use as an array index when + choosing sort function; added new sort_numtypes member for + compile-time check. + (time_type): Add new time_numtypes member for compile-time check. + (directories_first): New global variable. + (GROUP_DIRECTORIES_FIRST_OPTION): New enum. + (long_options): Add --directories-first. + (main): Support new option. + (is_directory): New function. + (extract_dirs_from_files): Use it. + (DIRFIRST_CHECK, DEFINE_SORT_FUNCTIONS) + (LIST_SORTFUNCTION_VARIANTS): New macros. + (sort_functions): New global variable. + (sort_files): Use it. + (usage): Document new option. + +2006-04-18 Paul Eggert + * src/shred.c (fillrand): The assertion was way too weak, due to what must be a typo. Strengthen it to its intended value. (dopass): Don't use alloca; it's not worth the aggravation here, -- cgit v1.2.3-70-g09d2