From: Jim Meyering Date: Thu, 13 May 2004 07:27:10 +0000 (+0000) Subject: (unquote, make_printable_str): Use e.g. '\a' rather than '\007', X-Git-Tag: v5.3.0~1566 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62f51917b8444f901695b96896bc347fff61d3c9;p=thirdparty%2Fcoreutils.git (unquote, make_printable_str): Use e.g. '\a' rather than '\007', for portability to EBCDIC hosts. --- diff --git a/src/tr.c b/src/tr.c index 3bb9cec6fd..366b217100 100644 --- a/src/tr.c +++ b/src/tr.c @@ -494,7 +494,7 @@ unquote (const unsigned char *s, struct E_string *es) c = '\\'; break; case 'a': - c = '\007'; + c = '\a'; break; case 'b': c = '\b'; @@ -643,7 +643,7 @@ make_printable_str (const unsigned char *s, size_t len) case '\\': tmp = "\\"; break; - case '\007': + case '\a': tmp = "\\a"; break; case '\b':