summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-04-03 03:29:41 +0000
committerJim Meyering <jim@meyering.net>1999-04-03 03:29:41 +0000
commitdb6ce0481b41d5c956d190fd3f57cddba4fb2bb3 (patch)
tree2662ff9e15a81cb92a8b555a704951797212d1ab
parent98327bba60c85660429a91d1f80912f3f37c2fb2 (diff)
downloadcoreutils-db6ce0481b41d5c956d190fd3f57cddba4fb2bb3.tar.xz
*** empty log message ***
-rw-r--r--old/fileutils/ChangeLog49
1 files changed, 49 insertions, 0 deletions
diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog
index 606d84b52..011186222 100644
--- a/old/fileutils/ChangeLog
+++ b/old/fileutils/ChangeLog
@@ -1,3 +1,52 @@
+1999-04-02 Paul Eggert <eggert@shade.twinsun.com>
+
+ * configure.in (AC_CHECK_FUNCS): Add gethrtime.
+
+ * src/shred.c (isaac_seed): Don't overrun the s->mm buffer.
+ Use gethrtime if available. Don't assume that clock_gettime succeeds.
+ Put most random sources first.
+
+1999-04-02 Paul Eggert <eggert@twinsun.com>
+
+ shred: Add new options -bcCklL and fix some porting problems.
+ Remove options -dp. Do not read output files.
+
+ * src/shred.c (long_opts, usage, main, wipefile): Adjust to
+ new options.
+ ("human.h", "quotearg.h"): New includes.
+ (struct Options): New members contents, links, n_iterations.
+ Remove allow_devices, remove_file. Change n_iterations to size_t.
+ All uses changed.
+ (output_block_size): New var.
+ (usage): Declare __noreturn__ attribute.
+ (fdatasync): Define to -1 if not present, since we need to invoke both
+ fdatasync and fsync if both are present. All invokers of fdatasync
+ now try fdatasync, then fsync.
+ (MIXIN): New macro.
+ (isaac_seed): Use it to mix in values. Add uid, gid to mix.
+ Don't use gettimeofday, as it has too many porting problems.
+ (isaac_seedfd): Remove, since we no longer read the output files.
+ (sizefd): Remove; we now determine size by writing sequentially.
+ (dopass, wipename, wipefile, main): Clean up error messages.
+ (dopass): Keep track of offset relative to start of file, not
+ end, since we may not know how large the file is. If size is
+ negative, write until we fall off the end of the file.
+ (wipefd): Do not read output file.
+ Return 0 if successful, -1 if not; do not make a special case for
+ non-regular files, since our callers have that info now.
+ (wipename): Now static. Return errno if error.
+ (main): "-" now stands for standard output.
+ Do not shred append-only standard output.
+ (wipefile): Do not grant read permission to file when wiping it.
+ Use symbolic permission (S_IWUSR), not octal.
+
+ * src/system.h (S_IWUSR): Define if not already defined.
+
+ * configure.in (AC_SEARCH_LIBS): Prefer rt to posix4, for Solaris 7.
+ (AC_CHECK_FUNCS): Remove gettimeofday.
+
+ * doc/fileutils.texi: Document recent changes.
+
1999-04-01 Jim Meyering <meyering@ascend.com>
* configure.in (AC_CHECK_FUNCS): Add acl.