From: Jim Meyering Date: Tue, 22 Mar 2005 14:51:34 +0000 (+0000) Subject: (get_funky_string): Use '\a', rather than 7, for portability to EBCDIC hosts. X-Git-Tag: CPPI-1_12~1242 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e49f13c2cf694ef0bda70d6f7f5e590bc4ec64ce;p=thirdparty%2Fcoreutils.git (get_funky_string): Use '\a', rather than 7, for portability to EBCDIC hosts. --- diff --git a/src/ls.c b/src/ls.c index 4f268e76c4..1e61f41681 100644 --- 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';