Jim Meyering
09227c31dd
(noinst_HEADERS): Add rand-isaac.h.
2005-12-10 22:54:31 +00:00
Jim Meyering
2a6eef20f5
*** empty log message ***
2005-12-10 22:10:59 +00:00
Jim Meyering
d5978ad190
Cleaner:
...
Make the local an `int' instead.
2005-12-10 22:10:53 +00:00
Jim Meyering
437a569c53
*** empty log message ***
2005-12-10 21:58:28 +00:00
Jim Meyering
dfacfaf971
Avoid shred segfault on 64-bit systems.
...
(isaac_refill): Don't try to negate a
local of type uint32_t. Convert it to int32_t first.
2005-12-10 21:58:23 +00:00
Jim Meyering
3199892488
*** empty log message ***
2005-12-10 21:10:26 +00:00
Jim Meyering
2f33661051
Mention sort's new options.
2005-12-10 21:10:21 +00:00
Jim Meyering
df4dc0666d
*** empty log message ***
2005-12-10 10:18:18 +00:00
Jim Meyering
41c0ee3fe4
* src/rand-isaac.h (isaac_mix): Remove declaration.
2005-12-10 10:18:10 +00:00
Jim Meyering
dbfc16effb
* src/rand-isaac.c (isaac_mix): Declare to be static.
...
Mark all other functions as `extern' so the tight-scope
part of `make distcheck' passes once again.
* src/rand-isaac.h (isaac_mix): Remove declaration.
2005-12-10 10:18:01 +00:00
Jim Meyering
c4666a397d
*** empty log message ***
2005-12-10 10:05:27 +00:00
Jim Meyering
ea947bc7f0
*** empty log message ***
2005-12-10 10:04:18 +00:00
Jim Meyering
fbaa8e9719
(get_hash): Change position of `*' in parameter type to conform with convention.
...
(main): Split a long line so it fits in 80 columns.
2005-12-10 10:04:12 +00:00
Jim Meyering
beb862ee9c
*** empty log message ***
2005-12-10 10:02:32 +00:00
Jim Meyering
d6482a9ac2
Don't include gethrxtime.h. No longer needed.
2005-12-10 10:02:24 +00:00
Jim Meyering
a2b661352b
(keycompare): Remove stray SPACE before TAB that was
...
causing `make distcheck' to fail.
2005-12-10 09:44:00 +00:00
Jim Meyering
e2b9d79b9c
*** empty log message ***
2005-12-10 09:38:17 +00:00
Jim Meyering
d65090198c
(TESTS): Add sort-rand.
2005-12-10 09:38:07 +00:00
Jim Meyering
9967cd6a63
*** empty log message ***
2005-12-10 09:37:46 +00:00
Jim Meyering
7de48ccced
Add a basic test of the new options.
2005-12-10 09:37:21 +00:00
Paul Eggert
f9b90d0739
Add sort -R.
2005-12-10 09:08:55 +00:00
Paul Eggert
e076a77851
(sort invocation): Add --random-sort (-R) and --seed.
2005-12-10 08:10:20 +00:00
Paul Eggert
569c4876bc
(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-10 08:09:42 +00:00
Paul Eggert
4013c49f1b
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.
2005-12-10 08:09:20 +00:00
Paul Eggert
7c2beeafd7
(sort_LDADD): Add $(LIB_GETHRXTIME).
...
(shred_SOURCES, sort_SOURCES): New macros, so we compile rand-isaac.c.
2005-12-10 08:08:52 +00:00
Paul Eggert
71bc739b35
New file, containing ISAAC code that was in shred.c.
...
Make state size runtime-configurable.
(isaac_new, isaac_copy): New functions.
2005-12-10 08:08:05 +00:00
Paul Eggert
a237792d66
Move ISAAC code out of shred.c.
2005-12-10 08:07:36 +00:00
Jim Meyering
078b4f861c
add comments
2005-12-09 21:52:50 +00:00
Paul Eggert
4713202758
Add test for dd iflags=noatime.
2005-12-09 21:48:38 +00:00
Jim Meyering
467d73aac9
*** empty log message ***
2005-12-09 16:28:28 +00:00
Jim Meyering
99f35425a7
(usage): Mention white space vs -b and -t options.
...
From The Wanderer.
2005-12-09 16:28:17 +00:00
Jim Meyering
55897502a6
*** empty log message ***
2005-12-09 16:27:26 +00:00
Jim Meyering
e83af19449
*** empty log message ***
2005-12-09 16:22:27 +00:00
Jim Meyering
843efb8e3b
(main): Fix misleading comment.
2005-12-09 16:22:24 +00:00
Jim Meyering
bbfe621405
.
2005-12-08 18:34:21 +00:00
Paul Eggert
8b43cfcc59
Add dd noatime.
2005-12-07 21:12:38 +00:00
Paul Eggert
88afdc99f2
(flags, usage): Add support for noatime flag.
2005-12-07 21:12:12 +00:00
Paul Eggert
cb65d67c2a
(O_NOATIME): Define to 0 if not already defined.
2005-12-07 21:11:45 +00:00
Paul Eggert
f2ced93400
* coreutils.texi (dd invocation): New noatime flag.
2005-12-07 21:11:27 +00:00
Paul Eggert
0e91392981
(dd invocation): New noatime flag.
2005-12-07 21:11:14 +00:00
Paul Eggert
d17f5073fc
Mention dd's new noatime flag.
2005-12-07 21:10:33 +00:00
Paul Eggert
5ea987eade
* lib/stat-time.h (STATE_TIMESPEC, STAT_TIMESPEC_NS): Add check for
...
TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
porting problem reported by Georg Schwarz in
<http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html >.
* m4/stat-time.m4 (gl_STAT_TIME): Likewise.
2005-12-07 18:22:05 +00:00
Jim Meyering
c25ad39393
*** empty log message ***
2005-12-07 16:23:43 +00:00
Jim Meyering
df621389b0
(EXTRA_DIST): Add build-aux/cvsu.
2005-12-07 16:22:24 +00:00
Jim Meyering
24bf7fd4ad
(CVS_LIST): Use build-aux/cvsu, now that we have our own copy of cvsu.
2005-12-07 16:10:51 +00:00
Jim Meyering
96d80f5f4a
*** empty log message ***
2005-12-07 16:09:54 +00:00
Jim Meyering
db3375452d
From Debian unstable: /usr/bin/cvsu.
2005-12-07 16:09:38 +00:00
Jim Meyering
88f5132b30
*** empty log message ***
2005-12-07 16:09:09 +00:00
Jim Meyering
907c710b9a
*** empty log message ***
2005-12-07 08:08:15 +00:00
Jim Meyering
5dd8839716
exit-77 before the trap, not after, if we fail
...
to create a temporary directory on another partition.
2005-12-07 08:08:08 +00:00