aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-11-11 10:37:37 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2011-11-11 10:37:37 +0000
commit99d79193981246f988f10cde380f339f1aca7a70 (patch)
tree0ea660bb3ee85550ae0427f6e33ec07094355a0d /ChangeLog
parent902a2e4bb5aa53241898ae34dcf7aafb29df7b7e (diff)
downloadgdbm-99d79193981246f988f10cde380f339f1aca7a70.tar.gz
gdbm-99d79193981246f988f10cde380f339f1aca7a70.tar.bz2
Support close-on-exec flag for gdbm_open call.
* src/gdbm.h.in (GDBM_CLOEXEC): New flag. * src/systems.h [O_CLOEXEC]: Provide a placeholder definition. * src/gdbmopen.c (gdbm_open): Honor the GDBM_CLOEXEC flag. * compat/dbmopen.c (ndbm_open_dir_file0): Mask out open mode before comparing with GDBM_READER. Support GDBM_CLOEXEC. (dbm_open): Translate O_CLOEXEC to GDBM_CLOEXEC. * doc/gdbm.texinfo: Document GDBM_CLOEXEC. * NEWS: Update.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e6f9515..4b16466 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,22 @@
2011-11-11 Sergey Poznyakoff <gray@gnu.org.ua>
+ Support close-on-exec flag for gdbm_open call.
+
+ * src/gdbm.h.in (GDBM_CLOEXEC): New flag.
+ * src/systems.h [O_CLOEXEC]: Provide a placeholder definition.
+
+ * src/gdbmopen.c (gdbm_open): Honor the GDBM_CLOEXEC flag.
+ * compat/dbmopen.c (ndbm_open_dir_file0): Mask out open mode
+ before comparing with GDBM_READER.
+ Support GDBM_CLOEXEC.
+ (dbm_open): Translate O_CLOEXEC to GDBM_CLOEXEC.
+
+ * doc/gdbm.texinfo: Document GDBM_CLOEXEC.
+
+ * NEWS: Update.
+
+2011-11-11 Sergey Poznyakoff <gray@gnu.org.ua>
+
Fix handling of NDBM databases in read-only mode.
* compat/dbmopen.c (ndbm_open_dir_file0): Open dir file in

Return to:

Send suggestions and report system problems to the System administrator.