commit | c2e7169a6454c1199ec3ea50ab71208c1f91a2a9 | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Tue Jul 02 18:42:28 2013 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Feb 12 14:08:02 2020 -0800 |
tree | 4193ceb7d303e15dd9a768ae41ef685d5c33f2c1 | |
parent | 7f0f28b75937619d5ee43d6ff8e1b21d6b8be5a1 [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 llvm-svn: 185457 GitOrigin-RevId: 9cfcdcb9e2bed7835122852ea9f5405ae313f11c