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
ad97d96c40
commit
59e7781613
@ -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…
x
Reference in New Issue
Block a user