Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-12-12 | Add src/rand-isaac.c. | Paul Eggert | |
2005-12-12 | Remove. All uses now simply include rand-isaac.c. | Paul Eggert | |
2005-12-12 | Mention shred_SOURCES and sort_SOURCES, too. | Paul Eggert | |
2005-12-12 | Use a more-conservative but slower approach for sort -R. | Paul Eggert | |
2005-12-12 | Include rand-isaac.c rather than rand-isaac.h. | Paul Eggert | |
Don't include md5.h; it wasn't needed. (struct keyfield): Rename random_hash to random, for consistency with the other member names. All uses changed. (usage): Tweak wording to mention STRING for --seed option. (short_options): Rorder for consistency with other programs. (rand_state): Now a struct, not a pointer to one. All uses changed. (HASH_WORDS, HASH_SIZE): Remove. (get_hash): Remove comments around resbuf size, since we can assume C89. Use a "more-kosher" (but slower) approach of invoking isaac_refill. (keycompare): Adjust to the new get_hash. Add a FIXME. (badfieldspec): Omit recently-introduced comment; it isn't needed. (main): Don't set need_random simply because gkey has it set; that doesn't necessarily mean we'll need random numbers. Redo seeding to match new get_hash approach. | |||
2005-12-12 | Include rand-isaac.c rather than rand-isaac.h. | Paul Eggert | |
(fillrand, dopass, main): Undo previous change. | |||
2005-12-12 | Revert to what used to be in shred.c, without | Paul Eggert | |
changing it to allow for varying numbers of words in the state. Alter so that we include rand-isaac.c directly rather than compiling it and linking to it. Don't include config.h or system.h; that's the includer's responsibility. (ISAAC_LOG, ISAAC_WORDS, ISAAC_BYTES, struct isaac_state, ind): (isaac_step, struct irand_state): Resurrect these, with the same defns that used to be in shred.c. (ISAAC_SIZE, isaac_new, isaac_copy): Remove. (isaac_refill, isaac_seed_start, isaac_seed_data, irand_init, irand32): static again. (struct isaac_state, isaac_refill, isaac_mix, isaac_init): (isaac_seed_start, isaac_seed_data, isaac_seed_finish, isaac_seed): (irand_init, irand32, irand_mod): Number of words is constant again. | |||
2005-12-12 | (noinst_HEADERS): Remove rand-isaac.h. | Paul Eggert | |
2005-12-10 | *** empty log message *** | Jim Meyering | |
2005-12-10 | (noinst_HEADERS): Add rand-isaac.h. | Jim Meyering | |
2005-12-10 | *** empty log message *** | Jim Meyering | |
2005-12-10 | Cleaner: | Jim Meyering | |
Make the local an `int' instead. | |||
2005-12-10 | *** empty log message *** | Jim Meyering | |
2005-12-10 | Avoid shred segfault on 64-bit systems. | Jim Meyering | |
(isaac_refill): Don't try to negate a local of type uint32_t. Convert it to int32_t first. | |||
2005-12-10 | *** empty log message *** | Jim Meyering | |
2005-12-10 | Mention sort's new options. | Jim Meyering | |
2005-12-10 | *** empty log message *** | Jim Meyering | |
2005-12-10 | * src/rand-isaac.h (isaac_mix): Remove declaration. | Jim Meyering | |
2005-12-10 | * src/rand-isaac.c (isaac_mix): Declare to be static. | Jim Meyering | |
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 | *** empty log message *** | Jim Meyering | |
2005-12-10 | *** empty log message *** | Jim Meyering | |
2005-12-10 | (get_hash): Change position of `*' in parameter type to conform with convention. | Jim Meyering | |
(main): Split a long line so it fits in 80 columns. | |||
2005-12-10 | *** empty log message *** | Jim Meyering | |
2005-12-10 | Don't include gethrxtime.h. No longer needed. | Jim Meyering | |
2005-12-10 | (keycompare): Remove stray SPACE before TAB that was | Jim Meyering | |
causing `make distcheck' to fail. | |||
2005-12-10 | *** empty log message *** | Jim Meyering | |
2005-12-10 | (TESTS): Add sort-rand. | Jim Meyering | |
2005-12-10 | *** empty log message *** | Jim Meyering | |
2005-12-10 | Add a basic test of the new options. | Jim Meyering | |
2005-12-10 | Add sort -R. | Paul Eggert | |
2005-12-10 | (sort invocation): Add --random-sort (-R) and --seed. | Paul Eggert | |
2005-12-10 | (short_options, long_options, WORDS, keycompare, main): | Paul Eggert | |
(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 | Include rand-isaac.h. Move ISAAC code to rand-isaac.c. | Paul Eggert | |
(fillrand, main): Adjust to the fact that the state size is now runtime-configurable. | |||
2005-12-10 | (sort_LDADD): Add $(LIB_GETHRXTIME). | Paul Eggert | |
(shred_SOURCES, sort_SOURCES): New macros, so we compile rand-isaac.c. | |||
2005-12-10 | New file, containing ISAAC code that was in shred.c. | Paul Eggert | |
Make state size runtime-configurable. (isaac_new, isaac_copy): New functions. | |||
2005-12-10 | Move ISAAC code out of shred.c. | Paul Eggert | |
2005-12-09 | add comments | Jim Meyering | |
2005-12-09 | Add test for dd iflags=noatime. | Paul Eggert | |
2005-12-09 | *** empty log message *** | Jim Meyering | |
2005-12-09 | (usage): Mention white space vs -b and -t options. | Jim Meyering | |
From The Wanderer. | |||
2005-12-09 | *** empty log message *** | Jim Meyering | |
2005-12-09 | *** empty log message *** | Jim Meyering | |
2005-12-09 | (main): Fix misleading comment. | Jim Meyering | |
2005-12-08 | . | Jim Meyering | |
2005-12-07 | Add dd noatime. | Paul Eggert | |
2005-12-07 | (flags, usage): Add support for noatime flag. | Paul Eggert | |
2005-12-07 | (O_NOATIME): Define to 0 if not already defined. | Paul Eggert | |
2005-12-07 | * coreutils.texi (dd invocation): New noatime flag. | Paul Eggert | |
2005-12-07 | (dd invocation): New noatime flag. | Paul Eggert | |
2005-12-07 | Mention dd's new noatime flag. | Paul Eggert | |