This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/961] New: sendfile() and sendfile64() wrongly have __nonnull((3)) declaration
- From: "ldv at altlinux dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 22 May 2005 22:31:27 -0000
- Subject: [Bug libc/961] New: sendfile() and sendfile64() wrongly have __nonnull((3)) declaration
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
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 these __nonnul declarations appear to be incorrect and should
be removed.
--
Summary: sendfile() and sendfile64() wrongly have __nonnull((3))
declaration
Product: glibc
Version: 2.3.5
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: roland at gnu dot org
ReportedBy: ldv at altlinux dot org
CC: glibc-bugs at sources dot redhat dot com
OtherBugsDependingO 852
nThis:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=961
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.