]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(print_ascii, dump_strings): Use e.g. '\a' rather than
authorJim Meyering <jim@meyering.net>
Thu, 13 May 2004 07:26:14 +0000 (07:26 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 13 May 2004 07:26:14 +0000 (07:26 +0000)
'\007', for portability to EBCDIC hosts.

src/od.c

index 0c9c439db62531bc82cd965b94b88705333c4578..4a288b4df65d81f0b7bc4c27d3e7f202170b1ada 100644 (file)
--- 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;