From f9b90d0739e2cf56ad7462a9c5b3cbdc2ec97123 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 10 Dec 2005 09:08:55 +0000 Subject: Add sort -R. --- ChangeLog | 21 ++++++++++++++++++++- doc/ChangeLog | 4 ++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fd1353b74..3a7d78f1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,26 @@ -2005-12-09 Paul Eggert +2005-12-10 Frederik Eaton * 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 + * tests/dd/misc: Add test for dd iflags=noatime. 2005-12-09 Jim Meyering 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 + + * coreutils.texi (sort invocation): Add --random-sort (-R) and --seed. + 2005-12-07 Paul Eggert * coreutils.texi (dd invocation): New noatime flag. -- cgit v1.2.3-70-g09d2