Fixed yesterday's W32 fix.

This commit is contained in:
Werner Koch 2008-01-30 14:26:57 +00:00
parent b680d034fa
commit 3d654dfb29
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
2008-01-30 Werner Koch <wk@g10code.com>
* keydb.c (maybe_create_keyring): Fixed last change.
* tdbio.c (tdbio_set_dbname): Also test for forward slash.
2008-01-29 Werner Koch <wk@g10code.com>

View File

@ -125,7 +125,7 @@ maybe_create_keyring (char *filename, int force)
if (access (filename, F_OK))
{
rc = gpg_error_from_syserror ();
*last_slash_in_filename = DIRSEP_C;
*last_slash_in_filename = save_slash;
goto leave;
}
}