summaryrefslogtreecommitdiff
path: root/src/posix-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/posix-util.c')
-rw-r--r--src/posix-util.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/posix-util.c b/src/posix-util.c
index 881856c..5c4f339 100644
--- a/src/posix-util.c
+++ b/src/posix-util.c
@@ -114,7 +114,7 @@ walk_path (const char *pgm)
path = s + 1;
}
- _gpgme_debug (DEBUG_ENGINE, -1, NULL, NULL, NULL,
+ _gpgme_debug (NULL, DEBUG_ENGINE, -1, NULL, NULL, NULL,
"gpgme-walk_path: '%s' not found in '%s'",
pgm, orig_path);
@@ -157,3 +157,10 @@ _gpgme_allow_set_foreground_window (pid_t pid)
(void)pid;
/* Not needed. */
}
+
+/* See w32-util.c */
+int
+_gpgme_access (const char *path, int mode)
+{
+ return access (path, mode);
+}