diff options
author | Jim Meyering <jim@meyering.net> | 1995-07-20 19:22:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-07-20 19:22:28 +0000 |
commit | 1ae54a614050d2895880217ba63b438bf6c1e587 (patch) | |
tree | a7cbfe3fa5afc6381afffb6f3fedd44c6060749c /src/md5sum.c | |
parent | db566dba378a36259da02c9d9c2c45c377a1e048 (diff) | |
download | coreutils-1ae54a614050d2895880217ba63b438bf6c1e587.tar.xz |
more comment tweaks
Diffstat (limited to 'src/md5sum.c')
-rw-r--r-- | src/md5sum.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/md5sum.c b/src/md5sum.c index e6cf2f420..a8ad6cb73 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; |