1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* keyserver.c (keyserver_spawn): Include the EXEEXT so we can find

keyserver helpers on systems that use extensions.

* misc.c (path_access) [HAVE_DRIVE_LETTERS]: Do the right thing with
drive letter systems.
This commit is contained in:
David Shaw 2006-01-22 21:40:20 +00:00
parent d232175d8d
commit 4ff7d09040
3 changed files with 21 additions and 3 deletions

View file

@ -1251,7 +1251,15 @@ path_access(const char *file,int mode)
envpath=getenv("PATH");
if(file[0]=='/' || !envpath)
if(!envpath
#ifdef HAVE_DRIVE_LETTERS
|| (((file[0]>='A' && file[0]<='Z')
|| (file[0]>='a' && file[0]<='z'))
&& file[1]==':')
#else
|| file[0]=='/'
#endif
)
return access(file,mode);
else
{