summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-03-22 14:51:34 +0000
committerJim Meyering <jim@meyering.net>2005-03-22 14:51:34 +0000
commite49f13c2cf694ef0bda70d6f7f5e590bc4ec64ce (patch)
tree4cd5244d412dee8723fbad61055f11bc418615cd /src/ls.c
parent4986d56f236744a88a5a7d0ce854a53bf8cfe0d2 (diff)
downloadcoreutils-e49f13c2cf694ef0bda70d6f7f5e590bc4ec64ce.tar.xz
(get_funky_string): Use '\a', rather than 7, for portability to EBCDIC hosts.
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index 4f268e76c..1e61f4168 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';