diff options
author | Werner Koch <[email protected]> | 2008-08-01 10:51:11 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2008-08-01 10:51:11 +0000 |
commit | 201a3485653de83ffb797205d2ff2ae6e9fc7413 (patch) | |
tree | 4fa94e6ebf31263a7f08ce6d83e3702f4d39511f /g10/tdbio.c | |
parent | prompt change. (diff) | |
download | gnupg-201a3485653de83ffb797205d2ff2ae6e9fc7413.tar.gz gnupg-201a3485653de83ffb797205d2ff2ae6e9fc7413.zip |
Fix !EROFS bug.
Doc updates
Diffstat (limited to '')
-rw-r--r-- | g10/tdbio.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) |