mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
fix bug#1162.
This commit is contained in:
parent
6cb6c761a6
commit
03c414b650
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2009-12-15 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
|
* tdbio.c (tdbio_set_dbname): Do not call log_fatal after creating
|
||||||
|
the directory. Fixes bug#1169. Reported by Daniel Leidert.
|
||||||
|
|
||||||
2009-09-28 Werner Koch <wk@g10code.com>
|
2009-09-28 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* trustdb.c (get_validity_info): Take care of a NULL PK. Fixes
|
* trustdb.c (get_validity_info): Take care of a NULL PK. Fixes
|
||||||
|
|
|
@ -508,6 +508,7 @@ tdbio_set_dbname( const char *new_dbname, int create )
|
||||||
*p = 0;
|
*p = 0;
|
||||||
if( access( fname, F_OK ) ) {
|
if( access( fname, F_OK ) ) {
|
||||||
try_make_homedir( fname );
|
try_make_homedir( fname );
|
||||||
|
if (access (fname, F_OK ))
|
||||||
log_fatal (_("%s: directory does not exist!\n"), fname);
|
log_fatal (_("%s: directory does not exist!\n"), fname);
|
||||||
}
|
}
|
||||||
*p = DIRSEP_C;
|
*p = DIRSEP_C;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue