This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
acct() wrongly has __nonnull((1)) in glibc 2.3.5
- From: "Michael T Kerrisk" <mtk-lists at gmx dot net>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com,michael dot kerrisk at gmx dot net
- Date: Wed, 27 Apr 2005 10:56:29 +0200 (MEST)
- Subject: acct() wrongly has __nonnull((1)) in glibc 2.3.5
- References: <425EBBBB.1030306@redhat.com>
In posix/unistd.h, the declaration of acct() has
__THROW __nonnull ((1))
However, a NULL argument to acct() is the means of
disabling process accounting. Therefore this declaration
appears to be incorrect and should be removed.
Cheers,
Michael
--
Michael Kerrisk
mtk-lists@gmx.net
+++ Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl