1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Fix !EROFS bug.

Doc updates
This commit is contained in:
Werner Koch 2008-08-01 10:51:11 +00:00
parent e27ca6e059
commit 201a348565
8 changed files with 44 additions and 5 deletions

View file

@ -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-06-25 Marcus Brinkmann <marcus@g10code.de>
* gpg.c (enum cmd_and_opt_values): Remove option

View file

@ -603,8 +603,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)