On Mon, Nov 21, 2005 at 10:07:29AM -0600, Peter Fales wrote: > findutils fails to build on an HP-UX 10.20 machine because it doesn't > have wctype.h.
Yes, along with much of the rest of the GNU tool set, GNU findutils now assumes that it is being built on a system that complies with at least the oldest version of the ANSI C standard, ISO/IEC 9899:1990. I believe that ANSI C requires <wctype.h>. I'm copying this email to the gnulib project, in case they want to apply the patch anyway (the gnulib subdirectory of the findutils source code is just imported from the gnulib project). In any case, thanks for the diagnosis and patch. regards, James. > Patch is: > > diff -ur findutils-4.2.26/gnulib/lib/mbchar.h > findutils-4.2.26.new/gnulib/lib/mbchar.h > --- findutils-4.2.26/gnulib/lib/mbchar.h 2005-09-17 17:06:40.000000000 > -0500 > +++ findutils-4.2.26.new/gnulib/lib/mbchar.h 2005-11-21 09:52:26.000000000 > -0600 > @@ -156,7 +156,9 @@ > #include <time.h> > #include <wchar.h> > > +#ifdef HAVE_WCTYPE_H > #include <wctype.h> > +#endif > > #define MBCHAR_BUF_SIZE 24 _______________________________________________ Bug-findutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-findutils
