Matthew Dempsky: In libc++'s <locale>, there's already dependence on an snprintf_l
authorHoward Hinnant <hhinnant@apple.com>
Tue, 2 Jul 2013 18:42:28 +0000 (18:42 +0000)
committerHoward Hinnant <hhinnant@apple.com>
Tue, 2 Jul 2013 18:42:28 +0000 (18:42 +0000)
commit9cfcdcb9e2bed7835122852ea9f5405ae313f11c
treea46c4623d65da16c7ddfbb74cb76fde47de1cc0c
parentd0e67aa1ce2ee4eb9d30dd0762c530fc66c91320
Matthew Dempsky:  In libc++'s <locale>, there's already dependence on an snprintf_l
implementation and all of the char buffers readily have their
allocated size available, so we can easily use snprintf_l instead of
sprintf_l.

This avoids OpenBSD's linker warnings against using sprintf and
vsprintf.
Howard:  Please consider a patch for CREDITS.TXT

llvm-svn: 185457
libcxx/include/locale