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:
parent
2450c71ac3
commit
1a2d0ebc11
10 changed files with 107 additions and 44 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue