Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-06-17 | (main): Call initialize_main. | Jim Meyering | |
2003-03-08 | Before, when using shred on a device, one had to specify --exact, | Jim Meyering | |
or be careful to choose a size that would not be rounded up and exceed the maximum value; that could result in a failure of the final write. (do_wipefd): --exact is now the default for non-regular files. Suggestion from Ben Elliston. (usage): Say it. | |||
2003-01-13 | (long_opts): --zero does not require an argument. | Jim Meyering | |
Patch by Michael Stone. | |||
2003-01-10 | Don't include xalloc.h. | Jim Meyering | |
It's already included via system.h. | |||
2003-01-10 | Remove declaration of xstrdup. | Jim Meyering | |
Instead, include "xalloc.h". | |||
2003-01-04 | [S_ISLNK, S_ISFIFO, S_ISSOCK]: Don't define. | Jim Meyering | |
They're already defined in sys2.h. | |||
2002-12-15 | Remove all uses of `PARAMS'. | Jim Meyering | |
2002-11-05 | (dopass): | Jim Meyering | |
Use primitives from inttostr.h, not human.h, to print large numbers simply. (OUTPUT_BLOCK_SIZE): remove. (dopass): When printing progress, use floor for what has been done so far (since we should be conservative there), and ceiling for what needs to be done (since that's what other programs use). | |||
2002-09-28 | (dopass): Use a uintmax_t temporary to avoid bogus compiler warnings. | Jim Meyering | |
2002-08-31 | Change `exit (0)' to `exit (EXIT_SUCCESS)', | Jim Meyering | |
`exit (1)' to `exit (EXIT_FAILURE)', and `usage (1)' to `usage (EXIT_FAILURE)'. | |||
2002-08-30 | Change `error (1, ...' to `error (EXIT_FAILURE, ...'. | Jim Meyering | |
2002-07-02 | (usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it. | Jim Meyering | |
2002-02-01 | * src/shred.c: (VERBOSE_UPDATE): Update every 5 seconds, not every 10. | Jim Meyering | |
(wipename): Quote file names only when necessary. (main): Copy quoted string into malloc'd storage so it doesn't get clobbered when using -u and --verbose. Minor clean-up. * src/shred.c: Use `NULL' rather than `(time_t *) 0'. (dopass): Use STREQ in place of strcmp. Add parentheses around use of nested ternary operator. | |||
2002-02-01 | (VERBOSE_UPDATE): Now counts seconds, not bytes. | Jim Meyering | |
(dopass): If verbose, output a line every VERBOSE_UPDATE seconds, and suppress duplicate output lines. Output a percentage as well as a count of bytes. Also, fix comment/code typo regarding how many bytes have been written; this typo was harmless before, but is no longer harmless with the above change in effect. | |||
2002-01-21 | Don't include "xalloc.h", as system.h already does that via sys2.h. | Jim Meyering | |
2002-01-12 | (usage): Also mention Ext3. | Jim Meyering | |
2001-12-21 | [!HAVE_CONFIG_H]: Remove block of code that duplicated | Jim Meyering | |
code in lib/ for compiling this program without config.h. | |||
2001-12-19 | Add FSF copyright notice. | Jim Meyering | |
2001-12-19 | (xstrtoumax): If there is no number but there | Jim Meyering | |
is a valid suffix, assume 1. "MB" now means decimal, "MiB" binary. Accept 'K' as well as 'k'. | |||
2001-12-02 | Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION | Jim Meyering | |
instead of hard-coding --help and --version descriptions. | |||
2001-11-26 | Don't include "gtod.h" | Jim Meyering | |
(main): Don't `call' GETTIMEOFDAY_INIT. | |||
2001-11-23 | (usage): Note that ``Mandatory arguments to long options are mandatory | Jim Meyering | |
for short options too.'' | |||
2001-11-23 | (usage): Use `output', not `print' in description of | Jim Meyering | |
the --version option, so this message is consistent with all the rest. | |||
2001-11-23 | Split usage strings so that --help and --version | Jim Meyering | |
descriptions are alone in their own string. | |||
2001-11-23 | (usage): Split --help output into smaller pieces. | Jim Meyering | |
Use fputs, not printf. | |||
2001-10-21 | (isaac_seed_machdep): Handle SIGSEGV, too. Ick. | Jim Meyering | |
2001-08-12 | Include gtod.h -- should have been part of preceding delta | Jim Meyering | |
2001-08-12 | Include gtod.h. | Jim Meyering | |
(main): `Call' GETTIMEOFDAY_INIT, just in case the code ever changes to make it necessary. | |||
2001-05-11 | (usage): Warn about backups and mirrors. | Jim Meyering | |
2001-04-29 | --help: | Jim Meyering | |
downcase bulleted items remove some periods | |||
2001-04-29 | (usage): Include in --help output the warning about | Jim Meyering | |
some of the filesystem types on which shred is not effective. | |||
2001-01-17 | (PACKAGE): Likewise. | Jim Meyering | |
2001-01-14 | (UINT_MAX_32_BITS): Define. | Jim Meyering | |
Use UINT_MAX_32_BITS in the cpp conditions that determine the `word32' typedef. Using a literal `0xffffffff' failed with HPUX10.20's /bin/cc. | |||
2000-12-22 | (isaac_seed_machdep) [_ARCH_PPC]: Disable the code | Jim Meyering | |
that would use the PPC mfspr `asm' code. | |||
2000-10-28 | Include assert.h. | Jim Meyering | |
(fillrand): Add a parameter, size_max. Add an assertion. Adjust caller. (dopass): Break out of the `for (;;)' loop if size < offset. That can happen now that dopass is called with SIZE == -1. (do_wipefd): Accept a length of zero only for a regular file. If lseek fails or returns 0 for a non-regular file, let dopass determine the length. Inspired by a patch from Alan Iwi. | |||
2000-09-25 | (long_opts): --exact doesn't take an argument. | Jim Meyering | |
2000-08-08 | (quotearg_colon, xmalloc): "virtual memory exhausted" -> "memory exhausted" | Jim Meyering | |
2000-07-31 | [!HAVE_CONFIG_H]: Use `virtual memory exhausted', not `Memory exhausted'. | Jim Meyering | |
2000-07-30 | Convert "`%s'" in format strings to "%s", and wrap each | Jim Meyering | |
corresponding argument in a `quote (...)' call. | |||
2000-07-17 | (usage): Give a little more info. | Jim Meyering | |
Remove FIXME comment. | |||
2000-05-13 | Arrange to call close_stdout only upon exit. | Jim Meyering | |
2000-05-09 | Include sys/types.h in shred.c before including | Jim Meyering | |
sys/stat.h or system.h. From John David Anglin. | |||
2000-05-09 | back out last change -- the two should be separate | Jim Meyering | |
2000-05-09 | Include sys/types.h in shred.c before including | Jim Meyering | |
sys/stat.h or system.h. From John David Anglin. | |||
1999-12-18 | (wipename): When repeatedly renaming a file, making the name shorter | Jim Meyering | |
and shorter, skip to the next shorter length length if a rename fails (e.g. due to permission denied). Otherwise, this loop would iterate for so long that shred would appear to be stuck in an infinite loop for any but the shortest file names. | |||
1999-05-12 | (main): Put `u' for -u in getopt_long's string argument. | Jim Meyering | |
Remove the `R'. | |||
1999-04-22 | (word32): Don't use `#error'; it runs afoul of SunOS 4.1.4 cc. | Jim Meyering | |
1999-04-20 | <config.h>: Include first, since it can do | Jim Meyering | |
things like #define const, and this must be done before including any system headers. | |||
1999-04-19 | (main, longopts): | Jim Meyering | |
Use -u instead of -R for --remove, so that we can preserve future compatibility with rm. | |||
1999-04-19 | [!HAVE_CONFIG_H] (ST_BLKSIZE): Define to 65536. | Jim Meyering | |
(do_wipefd): Use ST_BLKSIZE instead of referring to the st_blksize member directly. |