This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch for undefined behaviour in gcc


Andreas Jaeger <aj@suse.de> said:

[...]

> ============================================================
> Index: sysdeps/generic/_G_config.h
> --- sysdeps/generic/_G_config.h	1999/08/15 15:19:28	1.10
> +++ sysdeps/generic/_G_config.h	2000/10/26 09:46:11
> @@ -76,7 +76,10 @@
>  #define _G_IO_IO_FILE_VERSION 0x20001
>  
>  /* This is defined by <bits/stat.h> if `st_blksize' exists.  */
> -#define _G_HAVE_ST_BLKSIZE defined (_STATBUF_ST_BLKSIZE)
> +#ifdef _STATBUF_ST_BLKSIZE
> +# define _G_HAVE_ST_BLKSIZE 1
> +#endif
> +

Shouldn't there be a #define as 0 or an #undef be around for completeness?
-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Vin~a del Mar, Chile                               +56 32 672616

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]