Fixed yesterday's W32 fix.
authorWerner Koch <wk@gnupg.org>
Wed, 30 Jan 2008 14:26:57 +0000 (14:26 +0000)
committerWerner Koch <wk@gnupg.org>
Wed, 30 Jan 2008 14:26:57 +0000 (14:26 +0000)
g10/ChangeLog
g10/keydb.c

index 3c52fea..0c0a813 100644 (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>
index 31e8098..3360f63 100644 (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;
         }
     }