summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-04-23 21:48:27 +0000
committerJim Meyering <jim@meyering.net>2006-04-23 21:48:27 +0000
commit79aba863ce1e9ce1bb8d7e852204806689f71a7c (patch)
treef2384b6db967dfc69a0e6702a616ee9609d0d016
parent02207e6a7255038687f09fc99eb5b1e5f61b0e0e (diff)
downloadcoreutils-79aba863ce1e9ce1bb8d7e852204806689f71a7c.tar.xz
*** empty log message ***
-rw-r--r--ChangeLog23
1 files changed, 22 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e62718540..60610473d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,28 @@
-2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
+2006-04-23 Francesco Montorsi <fr_m@hotmail.com>
* 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 <eggert@cs.ucla.edu>
+
* 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,