diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-09 17:08:55 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-09 17:08:55 +0000 |
commit | 197b96d06916887c4c167a3ee25edfdb3631ac71 (patch) | |
tree | a80b97e630d7ad60e5479022aef34f3ace3105ab /src/od.c | |
parent | b3e1ad7a5d972ee947831e9d943a12c239864e72 (diff) | |
download | coreutils-197b96d06916887c4c167a3ee25edfdb3631ac71.tar.xz |
Adjust to today's renaming changes in system.h.
Diffstat (limited to 'src/od.c')
-rw-r--r-- | src/od.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -497,7 +497,7 @@ dump_hexl_mode_trailer (size_t n_bytes, const char *block) for (i = n_bytes; i > 0; i--) { unsigned char c = *block++; - unsigned char c2 = (ISPRINT(c) ? c : '.'); + unsigned char c2 = (isprint (c) ? c : '.'); putchar (c2); } putchar ('<'); @@ -576,7 +576,7 @@ print_ascii (size_t n_bytes, void const *block, break; default: - sprintf (buf, (ISPRINT (c) ? " %c" : "%03o"), c); + sprintf (buf, (isprint (c) ? " %c" : "%03o"), c); s = buf; } @@ -1469,7 +1469,7 @@ dump_strings (void) free (buf); return ok; } - if (!ISPRINT (c)) + if (! isprint (c)) /* Found a non-printing. Try again starting with next char. */ goto tryline; buf[i] = c; @@ -1492,7 +1492,7 @@ dump_strings (void) } if (c == '\0') break; /* It is; print this string. */ - if (!ISPRINT (c)) + if (! isprint (c)) goto tryline; /* It isn't; give up on this string. */ buf[i++] = c; /* String continues; store it all. */ } |