summaryrefslogtreecommitdiff
path: root/src/md5sum.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-07-09 17:08:55 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-07-09 17:08:55 +0000
commit197b96d06916887c4c167a3ee25edfdb3631ac71 (patch)
treea80b97e630d7ad60e5479022aef34f3ace3105ab /src/md5sum.c
parentb3e1ad7a5d972ee947831e9d943a12c239864e72 (diff)
downloadcoreutils-197b96d06916887c4c167a3ee25edfdb3631ac71.tar.xz
Adjust to today's renaming changes in system.h.
Diffstat (limited to 'src/md5sum.c')
-rw-r--r--src/md5sum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/md5sum.c b/src/md5sum.c
index cdd74921b..1ecd672b5 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -348,7 +348,7 @@ hex_digits (unsigned char const *s)
{
while (*s)
{
- if (!ISXDIGIT (*s))
+ if (!isxdigit (*s))
return false;
++s;
}
@@ -513,9 +513,9 @@ digest_check (const char *checkfile_name)
in check file. Ignore case of hex digits. */
for (cnt = 0; cnt < digest_bin_bytes; ++cnt)
{
- if (TOLOWER (hex_digest[2 * cnt])
+ if (tolower (hex_digest[2 * cnt])
!= bin2hex[bin_buffer[cnt] >> 4]
- || (TOLOWER (hex_digest[2 * cnt + 1])
+ || (tolower (hex_digest[2 * cnt + 1])
!= (bin2hex[bin_buffer[cnt] & 0xf])))
break;
}