This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2914] gethostid don't check if file exist before tryng to use it
- From: "drepper at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 3 Aug 2006 08:51:32 -0000
- Subject: [Bug libc/2914] gethostid don't check if file exist before tryng to use it
- References: <20060713124204.2914.julien.dumont@certess.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at redhat dot com 2006-08-03 08:51 -------
I've changed this is CVS. The patch isn't OK. There is no need for the stat
because a) it's not really much faster than the open and b) if somebody uses
gethostid there better be such a file. The real problem was that the patch
introducing the OLD_HOSTIDFILE macro contained abug. This is now fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=2914
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.