bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-libunistring] Re: new modules for grapheme cluster breaking


From: Paolo Bonzini
Subject: Re: [bug-libunistring] Re: new modules for grapheme cluster breaking
Date: Sun, 2 Jan 2011 21:49:08 +0100

On Sat, Jan 1, 2011 at 17:38, Ben Pfaff <address@hidden> wrote:
> Bruno Haible <address@hidden> writes:
>
>> One tiny improvement of your patches: In C source code, use octal escapes
>> instead of hexadecimal escapes. Some platform's cc compiler (IRIX 6.5 or
>> HP-UX 10.20 or something like that) supports only octal escapes correctly.
>
> Wow.  This is a gigantic bug that I don't see documented
> anywhere.  "git ls-files | grep '\.c$' | xargs grep '\\x'" shows
> that \x is used many places in the Gnulib tests directory.  Do we
> need to document this and avoid \x everywhere?

Please don't.  It's a big readability loss (i personally cannot
decypher any octal sequence on the fly except \177).

Could it be the old K&R HP-UX compiler?

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]