This is the mail archive of the cygwin-patches mailing list for the Cygwin 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 v2 1/5] Add nonnull annotation to posix_memalign.


On Mar 21 13:15, Peter Foley wrote:
> GCC 6.0+ asserts that the memptr argument to the builtin function
> posix_memalign is nonnull.
> Add the necessary annotation to the prototype and
> remove the now unnecessary check to fix a warning.
> 
> newlib/Changelog
> newlib/libc/include/stdlib.h: Annotate arg to posix_memalign as
> non-null.
> 
> winsup/cygwin/ChangeLog
> malloc_wrapper.cc (posix_memalign): Remove always true nonnull check.

Applied.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: signature.asc
Description: PGP signature


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