aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJason Downs <downsj@downsj.com>2008-11-30 07:29:12 +0000
committerJason Downs <downsj@downsj.com>2008-11-30 07:29:12 +0000
commit75e98477a3854da8e582493f4888b3dca8d257d4 (patch)
treec18accfef04030f856b9d8841c90bbcefef6a2d6 /ChangeLog
parent5a88187f15f70c5d7914469b3e39e58259f59c01 (diff)
downloadgdbm-75e98477a3854da8e582493f4888b3dca8d257d4.tar.gz
gdbm-75e98477a3854da8e582493f4888b3dca8d257d4.tar.bz2
Implement a new basic locking mechanism for GDBM. Add _gdbm_lock_file() and
_gdbm_unlock_file(), which will try to use flock(), lockf(), and fcntl() to lock the file. From ChangeLog: * configure.ac: Add test for lockf. * src/lock.c: New file, adds _gdbm_unlock_file() and _gdbm_lock_file() routines. These attempt to use flock(), lockf(), and fcntl() locking. * src/proto.h: Add new prototypes. * src/systems.h: Remove file locking macros. * src/gdbmopen.c: Rewrite locking code, use _gdbm_lock_file(). * src/gdbmclose.c, src/gdbmreorg.c: Use _gdbm_unlock_file().
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 80ddee1..f5fc571 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+Sat Nov 29 23:22:24 PST 2008 Jason Downs (downsj@downsj.com)
+ * configure.ac: Add test for lockf.
+
+ * src/lock.c: New file, adds _gdbm_unlock_file() and
+ _gdbm_lock_file() routines. These attempt to use flock(),
+ lockf(), and fcntl() locking.
+ * src/proto.h: Add new prototypes.
+ * src/systems.h: Remove file locking macros.
+ * src/gdbmopen.c: Rewrite locking code, use _gdbm_lock_file().
+ * src/gdbmclose.c, src/gdbmreorg.c: Use _gdbm_unlock_file().
+
Sat Nov 29 21:19:32 PST 2008 Jason Downs (downsj@downsj.com)
* configure.ac: Add test for sys/termios.h

Return to:

Send suggestions and report system problems to the System administrator.