mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-04 20:38:50 +01:00
Fix !EROFS bug
This commit is contained in:
parent
ecff4d37bf
commit
99fb609e0a
@ -1,3 +1,8 @@
|
||||
2008-08-01 Werner Koch <wk@g10code.com>
|
||||
|
||||
* tdbio.c (open_db) [!EROFS]: Move closing parens out of the
|
||||
ifdef. Reported by Ken Takusagawa.
|
||||
|
||||
2008-04-30 Werner Koch <wk@g10code.com>
|
||||
|
||||
* getkey.c (parse_auto_key_locate): Ignore nodefault and local
|
||||
|
@ -592,8 +592,9 @@ open_db()
|
||||
db_fd = open (db_name, O_RDWR | MY_O_BINARY );
|
||||
if (db_fd == -1 && (errno == EACCES
|
||||
#ifdef EROFS
|
||||
|| errno == EROFS)
|
||||
|| errno == EROFS
|
||||
#endif
|
||||
)
|
||||
) {
|
||||
db_fd = open (db_name, O_RDONLY | MY_O_BINARY );
|
||||
if (db_fd != -1)
|
||||
|
Loading…
Reference in New Issue
Block a user