bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] printf: remove stupid restriction on %n


From: Bruce Korb
Subject: Re: [PATCH] printf: remove stupid restriction on %n
Date: Mon, 10 Sep 2012 06:49:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120825 Thunderbird/15.0

On 09/09/12 18:28, Paul Eggert wrote:
> Another option is
> 
>     (c) the ability to use %n in read-only format strings only
> 
> ... but we wouldn't need to do step 3 (reject uses of
> %n in writable memory), which would be less work.

You'd need to field issues about strange behavior that folks
don't understand.  "Read the C11 spec" doesn't seem to me
to be a good answer.  Error messages explaining where you've
gone astray seem like they are worth the small amount of
extra work.



reply via email to

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