mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
sm,w32: Fix Unicode problem on key box creation.
* sm/keydb.c (maybe_create_keybox): Replace access by gnupg_access
This commit is contained in:
parent
73c03e0232
commit
7cdd06af47
@ -273,7 +273,7 @@ maybe_create_keybox (char *filename, int force, int *r_created)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Now the real test while we are locked. */
|
/* Now the real test while we are locked. */
|
||||||
if (!access(filename, F_OK))
|
if (!gnupg_access(filename, F_OK))
|
||||||
{
|
{
|
||||||
rc = 0; /* Okay, we may access the file now. */
|
rc = 0; /* Okay, we may access the file now. */
|
||||||
goto leave;
|
goto leave;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user