Don't allocate the constant array "props" on the stack in wctype.
PR: 74743 Submitted by: knut st. osmundsen Approved by: rwatson (mentor) MFC after: 1 month
This commit is contained in:
parent
97df7d0709
commit
73a86dc575
@ -42,7 +42,7 @@ iswctype(wint_t wc, wctype_t charclass)
|
||||
wctype_t
|
||||
wctype(const char *property)
|
||||
{
|
||||
struct {
|
||||
static const struct {
|
||||
const char *name;
|
||||
wctype_t mask;
|
||||
} props[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user