commit | 839ae58c2eb9476f6280ad9006be0e6ac8f77e8d | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Tue Jul 02 18:42:28 2013 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Tue Jul 02 18:42:28 2013 +0000 |
tree | 4193ceb7d303e15dd9a768ae41ef685d5c33f2c1 | |
parent | 6a683bfb5fbf87fc37e155b3146094697a87b86f [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@185457 91177308-0d34-0410-b5e6-96231b3b80d8