This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Patch for undefined behaviour in gcc
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: Patch for undefined behaviour in gcc
- From: Horst von Brand <vonbrand at sleipnir dot valparaiso dot cl>
- Date: Thu, 26 Oct 2000 07:01:38 -0300
- cc: libc-alpha Mailinglist <libc-alpha at sourceware dot cygnus dot com>, Neil Booth <NeilB at earthling dot net>
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