diff options
author | Werner Koch <wk@gnupg.org> | 2008-08-01 12:51:11 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2008-08-01 12:51:11 +0200 |
commit | 201a3485653de83ffb797205d2ff2ae6e9fc7413 (patch) | |
tree | 4fa94e6ebf31263a7f08ce6d83e3702f4d39511f /g10 | |
parent | prompt change. (diff) | |
download | gnupg2-201a3485653de83ffb797205d2ff2ae6e9fc7413.tar.xz gnupg2-201a3485653de83ffb797205d2ff2ae6e9fc7413.zip |
Fix !EROFS bug.
Doc updates
Diffstat (limited to 'g10')
-rw-r--r-- | g10/ChangeLog | 5 | ||||
-rw-r--r-- | g10/tdbio.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog index 4aa1ed114..5df38e5c2 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -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 diff --git a/g10/tdbio.c b/g10/tdbio.c index 93628499e..231f451e7 100644 --- a/g10/tdbio.c +++ b/g10/tdbio.c @@ -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) |