From: Jim Meyering Date: Thu, 20 Jul 1995 19:22:28 +0000 (+0000) Subject: more comment tweaks X-Git-Tag: textutils-1_12_1~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ae54a614050d2895880217ba63b438bf6c1e587;p=thirdparty%2Fcoreutils.git more comment tweaks --- diff --git a/src/md5sum.c b/src/md5sum.c index e6cf2f420e..a8ad6cb730 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -121,8 +121,8 @@ a line with checksum, type, and name for each FILE.\n"), exit (status); } -/* FIXME: but this won't work with filenames containing blanks. */ -/* FIXME: This is provisory. Use strtok. */ +/* FIXME: new format doesn't work with filenames containing blanks. */ +/* FIXME: neither format works with filenames containing newline. */ static int split_3 (s, u, binary, w) @@ -143,7 +143,7 @@ split_3 (s, u, binary, w) { *u = &s[i]; - /* The first field has to be the 32 character hexadecimal + /* The first field has to be the 32-character hexadecimal representation of the message digest. If it not immediately followed by a white space it's an error. */ if (!ISWHITE (s[i + 32])) @@ -310,6 +310,7 @@ main (argc, argv) if (optind == argc) argv[argc++] = "-"; + /* FIXME: allow newline in filename by encoding it. */ for (; optind < argc; ++optind) { size_t cnt;