Correct the "unimplemented" message for get{host,net,proto,serv}ent aliases.
authorNicholas Clark <nick@ccl4.org>
Mon, 10 Jan 2011 15:15:25 +0000 (15:15 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 10 Jan 2011 15:15:25 +0000 (15:15 +0000)
commit7844cc62678ae745dde249f72d1e05877caed26c
tree5e05e3c48e06dd0d0f55eb401f6df06bf51aa8c1
parent2183bf1a4806ad04e98f6d493311a96e6cacec05
Correct the "unimplemented" message for get{host,net,proto,serv}ent aliases.

Previously, if all of gethost{byaddr,byname,ent} were unimplemented on a
platform, they would all return 'Unsupported socket function "gethostent"
called', with the analogous results for getnet{byaddr,byname,ent},
getproto{byname,bynumber,ent} and getserv{byname,byport,ent}. This bug was
introduced by change af51a00e97d5c559 - prior to this, all 12 functions would
report their own name when unimplemented.
pp_sys.c