File should not use isprint ...

Mike Frysinger vapier at gentoo.org
Tue Nov 29 18:55:46 EET 2005


On Tue, Nov 29, 2005 at 05:14:18PM +0100, Radek Vok?l wrote:
> --- file-4.10.bak/src/funcs.c	2004-06-04 15:40:20.000000000 +0100
> +++ file-4.10/src/funcs.c	2005-11-29 16:06:06.855668919 +0000
> @@ -32,6 +32,7 @@
>  #include <stdlib.h>
>  #include <string.h>
>  #include <ctype.h>
> +#include <wchar.h>
>  
>  #ifndef	lint
>  FILE_RCSID("@(#)$Id: funcs.c,v 1.12 2004/06/04 14:40:20 christos Exp $")

you cant assume this header always exist, needs to be wrapped by HAVE_WCHAR_H
-mike



More information about the File mailing list