From: Jim Meyering Date: Tue, 25 Jul 1995 02:48:00 +0000 (+0000) Subject: [_LIBC || STDC_HEADERS] (TOLOWER): Define to tolower. X-Git-Tag: textutils-1_12_1~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5f33b7841729c3d080a3d63103007c971fb394eb;p=thirdparty%2Fcoreutils.git [_LIBC || STDC_HEADERS] (TOLOWER): Define to tolower. --- diff --git a/src/md5sum.c b/src/md5sum.c index 0a289d330e..88f4a54f38 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); }