summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}