Subject: ./ tools: error in 'file'
To: list NetBSD port-pc532 <>
From: Eyal Lebedinsky <>
List: port-pc532
Date: 03/30/2004 13:14:59
Building on 1.5.3 (last proper release?) from a reasonably recent
-current, I encountered a problem in
in file_mbswidth().

It assumes that HAVE_WCHAR_H means we have mbstate_t and mbrtowc().
/usr/include/wchar.h does not have these, however later
versions do have it (as usr/src/include/wchar.h does too).

Is this a problem with './ tools' incorrectly using the
native headers, or should 'file' be more careful?

Or, maybe I should have done something after installing -current
in /usr/src and before starting the build?

Eyal Lebedinsky ( <>