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:
antoine 2008-03-17 18:22:23 +00:00
parent 97df7d0709
commit 73a86dc575

View File

@ -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[] = {