summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-05-13 07:26:14 +0000
committerJim Meyering <jim@meyering.net>2004-05-13 07:26:14 +0000
commit364d39ccd8e079f7041896a7fbb34ada20a39134 (patch)
treec366a060292ffd8735326ebe54aeb4d2bf9f8a99 /src
parent07c04a20267cad550035f662eb3265c96610c7cc (diff)
downloadcoreutils-364d39ccd8e079f7041896a7fbb34ada20a39134.tar.xz
(print_ascii, dump_strings): Use e.g. '\a' rather than
'\007', for portability to EBCDIC hosts.
Diffstat (limited to 'src')
-rw-r--r--src/od.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/od.c b/src/od.c
index 0c9c439db..4a288b4df 100644
--- a/src/od.c
+++ b/src/od.c
@@ -559,7 +559,7 @@ print_ascii (size_t n_bytes, const char *block,
s = " \\0";
break;
- case '\007':
+ case '\a':
s = " \\a";
break;
@@ -1539,7 +1539,7 @@ dump_strings (void)
{
switch (c)
{
- case '\007':
+ case '\a':
fputs ("\\a", stdout);
break;