This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6700] utmpname(3) returns interger but man page says void and doesnot returns with failure if file not found.
- From: "drepper at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 13 Aug 2008 04:31:50 -0000
- Subject: [Bug libc/6700] utmpname(3) returns interger but man page says void and doesnot returns with failure if file not found.
- References: <20080627111826.6700.halesh.s@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at redhat dot com 2008-08-13 04:31 -------
It makes no sense for utmpname to check whether the file exists. It does not
open the file so the file might not yet exist at the time of the call or it
might disappear before it is actually used. The code is fine.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=6700
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.