GNOME Bugzilla – Bug 81897
stf-parse.c compliation fails if do not HAVE_WCTYPE_H
Last modified: 2004-12-22 21:47:04 UTC
gnumeric-1.0.6/src/stf-parse.c uses iswprint and iswspace even when wide chars are not available. Patch is *** src/stf-parse.c.orig Wed May 15 14:31:00 2002 --- src/stf-parse.c Wed May 15 14:17:12 2002 *************** *** 873,879 **** --- 873,884 ---- return (char *)s; if (len > 1) { if (mbstowcs (&wstr, s, 1) == 1 && + #ifdef HAVE_WCTYPE_H !iswprint (wstr) && !iswspace (wstr)) + #else + !isprint (wstr) && !isspace (wstr)) + #endif /* HAVE_WCTYPE_H */ + return (char *)s; s += len; } else {
The patch is not quite right, but something similar will go into 1.0.7
Something similar has been applied.