Files
MINGW-packages/mingw-w64-p11-kit/0009-add-debugging-to-path.patch
Ray Donnelly 7a542a148e p11-kit: Use FILE_SHARE_READ in CreateFile call in mmap
Otherwise multiple concurrent invocations can fail.
2014-08-30 21:15:31 +01:00

16 lines
676 B
Diff

--- p11-kit-0.20.3/common/path.c.orig 2014-08-28 15:38:41.193607200 +0100
+++ p11-kit-0.20.3/common/path.c 2014-08-28 16:18:10.646132100 +0100
@@ -336,8 +336,12 @@
strrchr (exe_path, '/')[1] = '\0';
}
char * rel_to_datadir = get_relative_path (P11_BINDIR, path);
+ p11_message ("get_relative_path (P11_BINDIR = %s, path = %s) = %s", P11_BINDIR, path, rel_to_datadir);
+ p11_message ("exe_path(1) = %s", exe_path);
strcat (exe_path, rel_to_datadir);
+ p11_message ("exe_path(2) = %s", exe_path);
simplify_path (&exe_path[0]);
+ p11_message ("exe_path(3) = %s", exe_path);
return malloc_copy_string(exe_path);
#else
return malloc_copy_string(path);