David Kimdon <dwhedon@instant802.com> noticed a thinko
in md5sum where only binary sums were verified. He also
sent in this patch,
-Erik
diff --git a/coreutils/md5sum.c b/coreutils/md5sum.c
index bb4d115..83c769e 100644
--- a/coreutils/md5sum.c
+++ b/coreutils/md5sum.c
@@ -699,12 +699,12 @@
s[i++] = '\0';
- if (s[i] != ' ' && s[i++] != '*')
+ if (s[i] != ' ' && s[i] != '*')
return FALSE;
/* All characters between the type indicator and end of line are
significant -- that includes leading and trailing white space. */
- *w = &s[i];
+ *w = &s[++i];
if (escaped_filename) {
/* Translate each `\n' string in the file name to a NEWLINE,