summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-01-23 17:36:33 +0000
committerJim Meyering <jim@meyering.net>1999-01-23 17:36:33 +0000
commit35c2b35dbd471047001c240e0c20593d085f4612 (patch)
treee49a8d46535f3c372d4f666fb12054c0bbc50315 /src
parent9550ca6b715c0bb20ee646adbbec3cf0a7053828 (diff)
downloadcoreutils-35c2b35dbd471047001c240e0c20593d085f4612.tar.xz
fix typos in comments
Diffstat (limited to 'src')
-rw-r--r--src/shred.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/shred.c b/src/shred.c
index fb0aec288..ef515df5b 100644
--- a/src/shred.c
+++ b/src/shred.c
@@ -3,7 +3,8 @@
x use error, not pferror
- don't use pfstatus -- or maybe leave it in and see who complains
x bracket strings with _(...) for gettext
- - use consistent non-capitalizatin in error messages
+ - use consistent non-capitalization in error messages
+ - add standard GNU copyleft comment
*/
/*
@@ -12,7 +13,7 @@
* Do a secure overwrite of given files or devices, so that not even
* very expensive hardware probing can recover the data.
*
- * Although this processs is also known as "wiping", I prefer the longer
+ * Although this process is also known as "wiping", I prefer the longer
* name both because I think it is more evocative of what is happening and
* because a longer name conveys a more appropriate sense of deliberateness.
*
@@ -22,8 +23,8 @@
*
* Just for the record, reversing one or two passes of disk overwrite
* is not terribly difficult with hardware help. Hook up a good-quality
- * digitizing oscilliscope to the output of the head preamplifier and copy
- * the high-res diitized data to a computer for some off-line analysis.
+ * digitizing oscilloscope to the output of the head preamplifier and copy
+ * the high-res digitized data to a computer for some off-line analysis.
* Read the "current" data and average all the pulses together to get an
* "average" pulse on the disk. Subtract this average pulse from all of
* the actual pulses and you can clearly see the "echo" of the previous
@@ -304,9 +305,9 @@ isaac_mix (struct isaac_state *s, word32 const seed[ISAAC_WORDS])
/*
* Initialize the ISAAC RNG with the given seed material.
* Its size MUST be a multiple of ISAAC_BYTES, and may be
- * tored in the s->mm array.
+ * stored in the s->mm array.
*
- * This is a generalization of the original ISAAC initialzation code
+ * This is a generalization of the original ISAAC initialization code
* to support larger seed sizes. For seed sizes of 0 and ISAAC_BYTES,
* it is identical.
*/
@@ -783,7 +784,7 @@ dopass (int fd, char const *name, off_t size, int type,
* are done in random order. The idea is to deprive someone trying to
* reverse the process of knowledge of the overwrite patterns, so they
* have the additional step of figuring out what was done to the disk
- * befire they can try to reverse or cancel it.
+ * before they can try to reverse or cancel it.
*
* First, all possible 1-bit patterns. There are two of them.
* Then, all possible 2-bit patterns. There are four, but the two
@@ -1134,6 +1135,7 @@ incname (char *name, unsigned len)
* Note that rename() and remove() are both in the ANSI C standard,
* so that part, at least, is NOT Unix-specific.
*
+ * FIXME: update this comment.
* To force the directory data out, we try to open() the directory and
* invoke fdatasync() on it. This is rather non-standard, so we don't
* insist that it works, just fall back to a global sync() in that case.