This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libgo] Don't check gopher, http ports
- From: Ian Lance Taylor <iant at google dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 07 Mar 2011 15:37:57 -0800
- Subject: Re: [libgo] Don't check gopher, http ports
- References: <yddmxl7w5cx.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
> The gopher (sort of understandable) and http (unexpected and strange)
> ports are missing form Solaris 2 /etc/services as far back as Solaris 8,
> which causes the libgo net test to fail:
>
> --- FAIL: net.TestLookupPort
> LookupPort("tcp", "gopher") = 0, unknown port tcp/gopher; want 70
> LookupPort("tcp", "http") = 0, unknown port tcp/http; want 80
>
> Since having those two ports above all the others adds no extra value,
> I've simply removed them to fix the test.
Committed to master repository and gccgo repository.
Thanks.
Ian