The PATH problem (was Re: Libcurl)

Carlo Luciano Bianco clbianco at tiscalinet.it
Sat Mar 26 01:47:36 CET 2005


Il /25 mar 2005/, *David Shaw* ha scritto:

> On Wed, Mar 23, 2005 at 06:24:57PM +0100, Carlo Luciano Bianco wrote:
> 
>> Maybe it is possible to run the keyserver helpers not just by their
>> name, but by their *entire* name: instead of running
[...]
> That is basically the plan.  The only (not very) complex thing is that
> it needs to take into account --exec-path as well as the configure
> option --disable-keyserver-path, and the various combinations of those
> options or lack thereof.

Yes, I see...

> Can you try this patch?

Of course! I have tried and it seems it is working OK!

Some more details:
--------------------------------------------------------------------------
gpg --keyserver http://whatever --debug 1024 --recv-keys 99999999
gpg: lettura delle opzioni da `H:/GnuPG\gpg.conf'
gpg: DBG: expanding string "c:\programmi\gnupg/gpgkeys_curl -o "%o" "%i""
gpg: DBG: args expanded to "c:\programmi\gnupg/gpgkeys_curl -o [...]
gpg: DBG: using temp file `[]tempin.txt'
gpg: requesting key 99999999 from http server whatever
gpg: DBG: system() command is c:\programmi\gnupg/gpgkeys_curl -o
"[]tempout.txt" "[]tempin.txt" 
-------------------------------------------------------------------------- 

--------------------------------------------------------------------------
gpg --keyserver http://whatever --debug 1024 --exec-path c:\ --recv-keys
99999999 gpg: lettura delle opzioni da `H:/GnuPG\gpg.conf'
gpg: DBG: set_exec_path method 0: PATH=c:\
gpg: DBG: expanding string "gpgkeys_curl -o "%o" "%i""
gpg: DBG: args expanded to "gpgkeys_curl -o [...]
gpg: DBG: using temp file `[]tempin.txt'
gpg: requesting key 99999999 from http server whatever
gpg: DBG: system() command is gpgkeys_curl -o "[]tempout.txt"
"[]tempin.txt" 
-------------------------------------------------------------------------- 

I have also checked with SysInternals' Process Explorer and the PATHs
inside gpg.exe image are correct in both cases (i.e. the system PATH in
the first case and "c:\" in the second one). 

Thanks again, David! Is there any other test I can make to check this
patch? 

-- 
| Carlo Luciano Bianco | ICQ UIN: 109517158                              |
|______________________| Home page: <http://clbianco.altervista.org/>    |
|GPG DSA/ElG 1024/4096:|_________________________________________________|
|KeyID:0x5324A0DA - Fingerprint:8B00C61034120506111B143DEDBF71B45324A0DA |




More information about the Gnupg-users mailing list