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

Re: Nightly r11417, r11426 not working on Win2k

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-11-23 21:30:39 CET

Peter McNab wrote:
> Hi devs.
>
> There has been a fatal change introduced in nightly r11417 which
> prevents TortoiseSVN executing on Win2k.
>
> An error message is received at startup which announces
> "The procedure entry point getnameinfo could not be located in the
> dynamic link library WS2_32.dll"
>
> Neither TortoiseProc not TSVNCache appear in The Task Managger list.
>
> When I uninstall TortoiseSVN using add/remove programs and install
> nightly r11405 the problem goes away.
> Have repeated this process several times on two separate Virtual
> machines with consistent results.
>
> Build 11426 is working on XP so it's Win2k related.

Sorry for that, haven't tested TSVN on Win2k for some time.
It's fixed in the next nightly build.

Explanation:
With the Vista SDK, it's necessary to define _WIN_NT_ to something
higher or equal to 0x0501 (meaning: XP or higher) for IPv6 support to
work. And with VS2008, without this it won't even compile properly.
That's why I've set that define a few revisions back.
The problem with that define was then that it used the IPv6 functions
directly, and those functions are not available on Win2k. It's therefore
necessary to include another header file which forces again to use the
stub functions: on Win2k it falls back to the old plain IPv4 functions
(meaning: IPv6 won't work - but that's expected), but on XP and higher
it will use the proper IPv6 functions.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Nov 23 21:30:51 2007

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

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