On Fri, May 02, 2014 at 15:17, enh wrote: > ideally i'd like to have no differences between Android and OpenBSD in > the shared source files, because i've seen what a mess things were > when we diverged (and how many bugs went unfixed in Android despite > having been fixed for years upstream). so rather than start back on > the slippery slope of adding Android-specific hacks, i wondered if > you'd consider adding #ifndef REMOVE_PERCENT_N_SUPPORT (or whatever) > around the implementation of %n in lib/libc/stdio/vfprintf.c and > lib/libc/stdio/vfwprintf.c. > > you already have stuff like FLOATING_POINT and PRINTF_WIDE_CHAR so > there's some precedent here. > > thoughts? (assuming this is the right list. if not, please point me in > the right direction.)
It's always easiest to judge a diff when we can see it. :) It doesn't sound intrusive, but we'd need to see for sure.