We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02c7490 commit 650baf2Copy full SHA for 650baf2
compiler-rt/test/msan/strxfrm.cpp
@@ -7,12 +7,12 @@
7
#include <string.h>
8
9
int main(void) {
10
- char q[30];
+ char q[10];
11
size_t n = strxfrm(q, "abcdef", sizeof(q));
12
assert(n < sizeof(q));
13
__msan_check_mem_is_initialized(q, n + 1);
14
15
- locale_t loc = newlocale(LC_ALL_MASK, "", (locale_t)0);
+ locale_t loc = newlocale(LC_ALL_MASK, "C", (locale_t)0);
16
17
__msan_poison(&q, sizeof(q));
18
n = strxfrm_l(q, "qwerty", sizeof(q), loc);
0 commit comments