NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/48926: gethostbyname(3) doesn't appear to work under NetBSD-5.2 and NetBSD-6.1.x when hostnames appear only in /etc/hosts



The following reply was made to PR lib/48926; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, lib-bug-people%netbsd.org@localhost, 
        gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, 
buhrow%nfbcal.org@localhost
Cc: 
Subject: Re: lib/48926: gethostbyname(3) doesn't appear to work under 
NetBSD-5.2 and NetBSD-6.1.x when hostnames appear only in /etc/hosts
Date: Mon, 23 Jun 2014 11:34:30 -0400

 On Jun 23,  3:30pm, joerg%britannica.bec.de@localhost (Joerg Sonnenberger) 
wrote:
 -- Subject: Re: lib/48926: gethostbyname(3) doesn't appear to work under NetB
 
 |  What about checking whether p[len -1] is blankish first?
 
 And len != 0 for the paranoid.
 
 christos
 


Home | Main Index | Thread Index | Old Index