[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: 277-gary-rename-remaining-troublesome-ltdl-apis.diff

From: Eric Blake
Subject: Re: FYI: 277-gary-rename-remaining-troublesome-ltdl-apis.diff
Date: Wed, 26 Oct 2005 20:37:10 +0000

> <returning from the conquest>
> Not quite.  On a managed mount, cygwin_conv_to_full_win32_path
> (searchname, wpath); correctly returns the munged underlying
> Windows name, but earlier in the code, you appended a trailing
> dot.  Since a managed mount munges the trailing dot, you are
> now trying to load (for example) "c:\cygwin\managed\libfoo%2E",
> rather than "c:\cygwin\managed\libfoo.", so the call to LoadLibrary
> won't see a trailing dot and will thus append an implicit ".dll".

On the other hand, I just had a thought.  If you were to wait to
append the trailing dot until after you have converted to the Windows
name, this idiom of using a trailing dot to supress implicit .dll should
then work just fine for using LoadLibrary even inside cygwin managed

Eric Blake

reply via email to

[Prev in Thread] Current Thread [Next in Thread]