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]
Other format: [Raw text]

I: [PATCH] sendfile() and sendfile64() wrongly have __nonnull((3)) declaration


Hi,

In io/sys/sendfile.h, declarations of sendfile() and sendfile64() have
	__THROW __nonnull ((3))
However, in the comment few lines above the sendfile() declaration you can
read: "If OFFSET is a null pointer, use the normal file position instead."
Therefore this __nonnul declaration appears to be incorrect and should
be removed.


-- 
ldv

Attachment: glibc-alt-sendfile.patch
Description: Text document

Attachment: pgp00000.pgp
Description: PGP signature


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