1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Some exec cleanups and tweaks for photo ID and keyserver execution

This commit is contained in:
David Shaw 2001-12-27 20:48:05 +00:00
parent 2450c71ac3
commit 1a2d0ebc11
10 changed files with 107 additions and 44 deletions

View file

@ -341,8 +341,8 @@ openpgp_md_test_algo( int algo )
int
check_permissions(const char *path,int checkonly)
{
#ifndef HAVE_DOSISH_SYSTEM
#ifdef HAVE_STAT
#if defined(HAVE_STAT) && !defined(HAVE_DOSISH_SYSTEM)
struct stat statbuf;
int isdir=0;
@ -392,8 +392,8 @@ check_permissions(const char *path,int checkonly)
isdir?"directory":"file",path);
return 1;
}
#endif
#endif /*!HAVE_DOSISH_SYSTEM*/
#endif /* HAVE_STAT && !HAVE_DOSISH_SYSTEM */
return 0;
}