[PATCH] [libc++] Use snprintf() instead of sprintf()
matthew at dempsky.org
Tue Jul 2 11:23:22 PDT 2013
Hm, now I recall why I avoided using sizeof originally:
does not define sizeof for runtime-sized arrays (though clang and gcc
both allow that, even in strict c++ mode).
On Tue, Jul 2, 2013 at 10:44 AM, Matthew Dempsky <matthew at dempsky.org> wrote:
> On Tue, Jul 02, 2013 at 07:30:43PM +0200, Joerg Sonnenberger wrote:
>> On Tue, Jul 02, 2013 at 09:55:18AM -0700, Matthew Dempsky wrote:
>> > On Sat, Jun 29, 2013 at 08:47:18PM -0400, Howard Hinnant wrote:
>> > > I'm having trouble applying this patch:
>> > Sorry, redone patch attached. Please try again.
>> Please use sizeof() explicitly.
More information about the cfe-commits