[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ASCII-isms in od.c, printf.c, tr.c
From: |
Jim Meyering |
Subject: |
Re: ASCII-isms in od.c, printf.c, tr.c |
Date: |
Thu, 13 May 2004 09:29:27 +0200 |
Paul Eggert <address@hidden> wrote:
> Here are patches for a few places where the coreutils source code
> assumes ASCII, and will do the wrong thing on an EBCDIC host. It's
> now safe to use \a since we're assuming C89 or better these days.
>
> There's another place in echo.c but I'll send a bigger patch about
> that shortly.
>
> 2004-05-12 Paul Eggert <address@hidden>
>
> * src/od.c (print_ascii, dump_strings): Use e.g. '\a' rather than
> '\007', for portability to EBCDIC hosts.
> * src/printf.c (print_esc_char): Likewise.
> * src/tr.c (unquote, make_printable_str): Likewise.
Thanks.
I've applied that.
Do you know of anyone who builds GNU tools on EBCDIC hosts these days?