This is the mail archive of the libc-alpha@sourceware.org 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]
Other format: [Raw text]

Re: [patch] Fix BZ 19165 -- overflow in fread / fwrite


On 12/07/2015 06:21 PM, Paul Pluzhnikov wrote:
> diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h
> index 99e94cc..4474f09 100644
> --- a/misc/sys/cdefs.h
> +++ b/misc/sys/cdefs.h

I think it's better for now not to put this into an installed header
file.  include/stdlib.h  comes to my mind as a candidate location.

Then you can use _Static_assert and don't have to worry about including
<stddef.h>.

Florian


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