OSDN Git Service

libc: enable sprintf FORTIFY_SOURCE under clang
authorNick Kralevich <nnk@google.com>
Mon, 24 Jun 2013 18:44:00 +0000 (11:44 -0700)
committerNick Kralevich <nnk@google.com>
Mon, 24 Jun 2013 21:10:29 +0000 (14:10 -0700)
commitc6eb9854542c115fd9aa87731adcb1b5da57e8ac
tree5ca9c0df80389608790d1673951539774ff80195
parent53ddcc90701d86c7d809a84cf4710c651066e3c7
libc: enable sprintf FORTIFY_SOURCE under clang

clang doesn't support __builtin_va_arg_pack(), so we have
to use #define instead.

Change-Id: I2ee75e6267d60cdf997fee6b9b0547bf68f062a1
libc/include/stdio.h
tests/fortify1_test.cpp
tests/fortify1_test_clang.cpp
tests/fortify2_test.cpp
tests/fortify2_test_clang.cpp