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

Re: Kerberos + GSSAPI support in Tortoise SVN

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 06 Oct 2010 19:45:38 +0200

On 06.10.2010 14:28, Jean-Yves Avenard wrote:
> Hi
>
> On 4 October 2010 02:53, Stefan Küng<tortoisesvn_at_gmail.com> wrote:
>> Committed in r20229.
>> Thanks a lot for this patch!
>
> Here is an update..

Committed in r20258.

> I found that with MIT Kerberos 32 bits installed on a 64 bits platform
> (and using TSVN 32 bits) it would crash.
> Interestingly, it worked fine in native 64 bits, native 32 bits or if
> compiled in debug mode. Which made it very hard to debug.
>
> Turned out that adding an extra cast (WINAPI) before calling
> GetProcAddress fixed the issue. To be honest, I don't really
> understand why

Because the calling convention was wrong.
http://en.wikipedia.org/wiki/X86_calling_conventions

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2668627
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-10-06 19:45:50 CEST

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

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