]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(get_funky_string): Use '\a', rather than 7, for portability to EBCDIC hosts.
authorJim Meyering <jim@meyering.net>
Tue, 22 Mar 2005 14:51:34 +0000 (14:51 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 22 Mar 2005 14:51:34 +0000 (14:51 +0000)
src/ls.c

index 4f268e76c4706bb1cd6ddc2f92c1227dd5a69596..1e61f41681d494586a292eb07e00635d4b2807fc 100644 (file)
--- a/src/ls.c
+++ b/src/ls.c
@@ -1950,7 +1950,7 @@ get_funky_string (char **dest, const char **src, bool equals_end,
              num = 0;
              break;
            case 'a':           /* Bell */
-             num = 7;          /* Not all C compilers know what \a means */
+             num = '\a';
              break;
            case 'b':           /* Backspace */
              num = '\b';