[12779] in Athena Bugs
Bug in the source code for hostinfo?
daemon@ATHENA.MIT.EDU (Zhihang Chi)
Sat Oct 22 22:51:33 1994
Date: Sat, 22 Oct 94 22:56:44 -0400 (EDT)
From: Zhihang Chi <zchi@MIT.EDU>
To: bugs@MIT.EDU
hostinfo.c apparently is modified recently.
-r--r--r-- 1 1047 10674 Oct 23 1993 gethostnamadr.c
-r-xr-xr-x 1 1047 1325 Jul 8 1991 hostinfo.1*
-r--r--r-- 1 1047 6486 Oct 23 1993 hostinfo.c
-r-xr-xr-x 1 1047 7748 Jul 8 1991 res_query.c*
and there seems to be a bug in it. As it is now, when compiled, it will
always say:
Cannot resolve name 'xxx' due to network difficulties.
The problem seems to lie in line 155. Seems the "=" should be a "==".
At least when I made the change, the excutable worked. Can someone
clarify whether it is or it is not a bug?
Thanks.
-- Zhihang