From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucio De Re To: 9fans mailing list <9fans@cse.psu.edu> Message-ID: <20020607125011.L12099@cackle.proxima.alt.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [9fans] CVS fix Date: Fri, 7 Jun 2002 12:50:11 +0200 Topicbox-Message-UUID: a78ee840-eaca-11e9-9e20-41e7f4b1d025 In $CVS/src/client.c I had to change the test in init_sockaddr(): - if (hostinfo == NULL) + if (hostinfo == NULL || hostinfo->h_addr == NULL) so that CVS wouldn't crash if the previous remote server no longer resolves to a contactable address. I'm not sure I understand the problem though. It is Plan 9 (or APE?) that returns a valid "hostinfo" with a NULL "->h_addr" or is this acceptable TCP/IP behaviour? The CVS developers don't bother to check. In case it helps, I went from :pserver:lucio@192.168.58.44:/export/repository to :pserver:lucio@cvs.proxima.alt.za:/export/repository because the 192.168.58.0/24 network was renumbered away. ++L