]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Add sort -R.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 10 Dec 2005 09:08:55 +0000 (09:08 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 10 Dec 2005 09:08:55 +0000 (09:08 +0000)
ChangeLog
doc/ChangeLog

index fd1353b743495449ac7aa81da8ca64fe6aa248af..3a7d78f1b90e3b1ff0c75503e5012023532585b7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,26 @@
-2005-12-09  Paul Eggert  <eggert@cs.ucla.edu>
+2005-12-10  Frederik Eaton  <frederik@ofb.net>
 
        * Version 6.0-cvs.
 
+       * src/Makefile.am (sort_LDADD): Add $(LIB_GETHRXTIME).
+       (shred_SOURCES, sort_SOURCES): New macros, so we compile rand-isaac.c.
+       * src/rand-isaac.c: New file, containing ISAAC code that was in shred.c.
+       Make state size runtime-configurable.
+       (isaac_new, isaac_copy): New functions.
+       * src/rand-isaac.h: New file.
+       * src/shred.c: Include rand-isaac.h.  Move ISAAC code to rand-isaac.c.
+       (fillrand, main): Adjust to the fact that the state size is now
+       runtime-configurable.
+       * src/sort.c (short_options, long_options, WORDS, keycompare, main):
+       (usage): Add options --random-sort and --seed to implement a random
+       shuffle.
+       Include md5.h and rand-isaac.h.
+       (get_hash): New function.
+       (rand_state): New var.
+       (HASH_WORDS, HASH_SIZE): New macros.
+
+2005-12-09  Paul Eggert  <eggert@cs.ucla.edu>
+
        * tests/dd/misc: Add test for dd iflags=noatime.
 
 2005-12-09  Jim Meyering  <jim@meyering.net>
index 2c03d3629d6394a801819fd2df6a410ba8b79dd4..673c425f76c055da8985e2f5f93b5ef576eb3e46 100644 (file)
@@ -1,3 +1,7 @@
+2005-12-10  Frederik Eaton  <frederik@ofb.net>
+
+       * coreutils.texi (sort invocation): Add --random-sort (-R) and --seed.
+
 2005-12-07  Paul Eggert  <eggert@cs.ucla.edu>
 
        * coreutils.texi (dd invocation): New noatime flag.