[cfe-commits] [patch] Fix put_pointer test for glibc
chandlerc at google.com
Sun Feb 19 03:25:28 PST 2012
Personally, I like this patch as it had the test following what is allowed
by the standard, and enumerating those options explicitly rather than just
comparing against the libc sprintf output.
On Feb 19, 2012 1:40 AM, "Jeffrey Yasskin" <jyasskin at gmail.com> wrote:
> Another way to fix this would be to do the sprintf and compare against
> that, or to use an explicit integer reinterpret_casted to void*, but
> it doesn't seem too bad to add an extra option for glibc's output.
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits