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]

acct() wrongly has __nonnull((1)) in glibc 2.3.5


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


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