This is the mail archive of the glibc-bugs@sourceware.org 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]

[Bug libc/2914] gethostid don't check if file exist before tryng to use it


------- 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.


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