Don't use #elif. Some old C compilers don't recognize it.
authorJim Meyering <jim@meyering.net>
Thu, 15 Jun 1995 03:15:37 +0000 (03:15 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 15 Jun 1995 03:15:37 +0000 (03:15 +0000)
commit9387b923714076f63e31fbde6e6a154c1e559df6
treea056190475c3a0a7721d2f052ed038a3a1dbcafa
parenta04bfe9cbf1943dfb8e2a8e7cec3e4c57810c42a
Don't use #elif.  Some old C compilers don't recognize it.
(hex_digits): New function.
(result): Give ctx parameter the `const' attribute.
(usage): Rewrite to make it clearer that there are three modes.
(main): Process all options before generating any output.
In particular, collect all --string options rather than operating
on them as they are encountered.

Allow --check=-.  Before it tried to open the file named `-'.

Detect bogus input when --check'ing: non-hex, non-[tb] flag.

Map to lower case all hex digits read from check file.
src/md5sum.c