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]

[patch] For BZ #17328, mark __errno_location with __attribute__((returns_nonnull)) for gcc >=4.9.0


Greetings,

Tested on Linux/x86_64 with gcc-4.8 and 5.0.


2015-02-28  Paul Pluzhnikov  <ppluzhnikov@google.com>

        [BZ #17328]
        * include/errno.h (__errno_locaiton): Mark returns_nonnull.
        * sysdeps/mach/hurd/bits/errno.h (__errno_location): Likewise.
        * sysdeps/unix/sysv/linux/alpha/bits/errno.h (__errno_location):
        Likewise.
        * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): Likewise
        * sysdeps/unix/sysv/linux/hppa/bits/errno.h (__errno_location):
        Likewise.
        * sysdeps/unix/sysv/linux/mips/bits/errno.h (__errno_location):
        Likewise.
        * sysdeps/unix/sysv/linux/sparc/bits/errno.h (__errno_location):
        Likewise.

--
Paul Pluzhnikov

Attachment: bz17328.patch.txt
Description: Text document


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