summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-12-10 09:08:55 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-12-10 09:08:55 +0000
commitf9b90d0739e2cf56ad7462a9c5b3cbdc2ec97123 (patch)
treed9288682132d58d77a242cce8788d208060acd25
parente076a7785103d56f72202b89cd4a60aaad86d59e (diff)
downloadcoreutils-f9b90d0739e2cf56ad7462a9c5b3cbdc2ec97123.tar.xz
Add sort -R.
-rw-r--r--ChangeLog21
-rw-r--r--doc/ChangeLog4
2 files changed, 24 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fd1353b74..3a7d78f1b 100644
--- 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>
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 2c03d3629..673c425f7 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -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.