* [9fans] CVS fix
@ 2002-06-07 10:50 Lucio De Re
0 siblings, 0 replies; only message in thread
From: Lucio De Re @ 2002-06-07 10:50 UTC (permalink / raw)
To: 9fans mailing list
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-06-07 10:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-07 10:50 [9fans] CVS fix Lucio De Re
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).