bug-gnulib
[Top][All Lists]
Advanced

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

Re: special characters in filenames in error messages


From: Paolo Bonzini
Subject: Re: special characters in filenames in error messages
Date: Wed, 03 Dec 2008 11:14:41 +0100
User-agent: Thunderbird 2.0.0.18 (Macintosh/20081105)

Karl Berry wrote:
>     > I don't see why \n should be special?
> 
>     For the same reason why we should escape :, i.e. to ensure that each
>     line can be interpreted as FILE:LINE:MESSAGE.
> 
> Obviously we have to escape newline characters.  In the original
> proposal, they would be escaped as \012.  I thought you were proposing
> to use a special-case \n instead.  So I asked what is gained by doing it
> that way.

Ah, I was referring to \n because my proposal included using standard C
escape sequences.  But if that's not done, of course \012 or \x0A is fine.

Paolo





reply via email to

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