Subject: Re: proposal: disable *printf %n specifier in libc in NetBSD 1.5
To: Noriyuki Soda <soda@sra.co.jp>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: tech-userlevel
Date: 09/11/2000 11:57:59
> > How is %n used in I18N ?
>
> Oops, what I thought is "%DIGIT$" (which currently not implemented
> on NetBSD), not "%n".
Ahh, right... for situations where word order differences between
languages require reordering arguments. I'm not proposing disabling
that, though if/when we support gettext() and similar I18N functions
they should perhaps do a format-equivalence sanity check. (i.e.,
verifying that "%s %d" is equivalent to "%2$d %1$s").
- Bill