summaryrefslogtreecommitdiff
path: root/src/md5sum.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-07-25 02:48:00 +0000
committerJim Meyering <jim@meyering.net>1995-07-25 02:48:00 +0000
commit5f33b7841729c3d080a3d63103007c971fb394eb (patch)
tree336dfc8f2ee612dfee9ae95a33431a85fa539116 /src/md5sum.c
parent6abd6fdd725993d66e40abb5dec22bc52b7498ed (diff)
downloadcoreutils-5f33b7841729c3d080a3d63103007c971fb394eb.tar.xz
[_LIBC || STDC_HEADERS] (TOLOWER): Define to tolower.
Diffstat (limited to 'src/md5sum.c')
-rw-r--r--src/md5sum.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/md5sum.c b/src/md5sum.c
index 0a289d330..88f4a54f3 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -59,8 +59,7 @@
# define __P(args) ()
#endif
-#if _LIBC
-/* GNU C Library has a correct tolower() function. */
+#if _LIBC || STDC_HEADERS
# define TOLOWER(c) tolower (c)
#else
# define TOLOWER(c) (ISUPPER (c) ? tolower (c) : (c))
@@ -299,8 +298,6 @@ md5_check (checkfile_name)
{
fp = fopen (filename, OPENOPTS);
if (fp == NULL)
- /* The text of this sometimes message completes the
- message given above. */
error (EXIT_FAILURE, errno, "%s", filename);
}