bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: findutils-4.2.26 build error on HP-UX 10.20


From: James Youngman
Subject: Re: findutils-4.2.26 build error on HP-UX 10.20
Date: Tue, 22 Nov 2005 01:35:09 +0000
User-agent: Mutt/1.5.9i

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]