David Kimdon <dwhedon@instant802.com> noticed a thinko

in md5sum where only binary sums were verified.  He also
sent in this patch,
 -Erik
This commit is contained in:
Eric Andersen 2001-11-17 04:16:15 +00:00
parent 5c2bbb55d7
commit 26f8e95d2d

View File

@ -699,12 +699,12 @@ static int split_3(char *s,
s[i++] = '\0'; s[i++] = '\0';
if (s[i] != ' ' && s[i++] != '*') if (s[i] != ' ' && s[i] != '*')
return FALSE; return FALSE;
/* All characters between the type indicator and end of line are /* All characters between the type indicator and end of line are
significant -- that includes leading and trailing white space. */ significant -- that includes leading and trailing white space. */
*w = &s[i]; *w = &s[++i];
if (escaped_filename) { if (escaped_filename) {
/* Translate each `\n' string in the file name to a NEWLINE, /* Translate each `\n' string in the file name to a NEWLINE,