summaryrefslogtreecommitdiff
path: root/.prev-version
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-08-08 22:20:12 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-08-08 22:20:12 +0000
commitf8abf03c3fb0f8abf3d41893922b59bb06daac2e (patch)
tree92c9cd2d6408aba656d6d9393cedc57ed084f6b1 /.prev-version
parent65533e1b0939bba6a1a222ebc82189f448640ea9 (diff)
downloadcoreutils-f8abf03c3fb0f8abf3d41893922b59bb06daac2e.tar.xz
Use new random-number interface rather than rand-isaac.c.
Don't include rand-isaac.c; include randint.h and randread.h instead. (RANDOM_SOURCE_OPTION): New enum. (long_opts, usage, main): New option --random-source. Include md5.h, randread.h, xmemxfrm.h. (longopts, usage, main): Remove undocumented --seed option; it's now replaced by --random-source. (rand_state, get_hash): Remove. (randread_source): New static var. (random_state, cmp_hashes, compare_random): New functions; they guarantee no collisions in the random hash function. (keycompare): Use compare_random for -R; don't fall back on comparing via memcoll, since compare_random does the right thing.
Diffstat (limited to '.prev-version')
0 files changed, 0 insertions, 0 deletions