[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r13236 - in trunk: . subversion/svnserve

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-03-04 02:07:54 CET

Philip Martin <philip@codematters.co.uk> writes:

> dberlin@tigris.org writes:
>
>> Author: dberlin
>> Date: Wed Mar 2 12:05:32 2005
>> New Revision: 13236
>>
>> Modified:
>> trunk/Makefile.in
>> trunk/subversion/svnserve/main.c
>> Log:
>> Add IPV6 listen support to svnserve
>>
>> * Makefile.in: Add svncheck6
>> * subversion/svnserve/main.c (main): Get listen host info first,
>> then use resulting family in the socket creation.
>
> This appears to break svnserve on my machine. I now get
>
> $ subversion/svnserve/svnserve -dr.
> Can't create server socket: Address family not supported by protocol
>
> It works if I go back to r13235.

The working code does:

$ strace -etrace=socket subversion/svnserve/.libs/lt-svnserve -dr.
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3

the failing code does:

$ strace -etrace=socket subversion/svnserve/.libs/lt-svnserve -dr.
socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = -1 EAFNOSUPPORT (Address family not supported by protocol)

I'm using a Linux without IPV6 support, so it's not surprising
PF_INET6 fails.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 4 02:09:07 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.