bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 4/4] utils/rpctrace: escape non-printable characters in strin


From: Justus Winter
Subject: Re: [PATCH 4/4] utils/rpctrace: escape non-printable characters in strings
Date: Sat, 14 Dec 2013 13:42:17 +0100
User-agent: alot/0.3.4

Quoting Ivan Shmakov (2013-12-13 17:05:19)
> >>>>> Justus Winter <4winter@informatik.uni-hamburg.de> writes:
> 
>  > * utils/rpctrace.c (escape_sequences): New char array mapping
>  > characters to their escape sequence.
> 
> […]
> 
>  > +static char escape_sequences[0xff] =
> 
>         JFTR: [0xFF] means [0] through [0xFE].  My guess would be that
>         it should’ve been 0x100 (= 0 … 0xFF.)

Doh! Good catch >,<

> PS.  Doesn’t Gnulib provide such a function already?

Is it ok to use gnulib stuff in the Hurd?

Justus



reply via email to

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