summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2019-04-08 19:17:10 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-04-08 19:17:10 (GMT)
commita0d6c1a8117c64b25e19ce2858b71bbc37c72128 (patch) (unidiff)
treedfc0cace96c708cf0bf47c5402e3f3b56f18552f
parentc2bab35c2f4c936c1a3b1f760ea861d95896669f (diff)
downloadgdbm-a0d6c1a8117c64b25e19ce2858b71bbc37c72128.tar.gz
gdbm-a0d6c1a8117c64b25e19ce2858b71bbc37c72128.tar.bz2
Preserve locking type during database reorganization
* src/recover.c (_gdbm_finish_transfer): Preserve locking type.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/recover.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/recover.c b/src/recover.c
index 7cc20a2..f1603d9 100644
--- a/src/recover.c
+++ b/src/recover.c
@@ -157,2 +157,3 @@ _gdbm_finish_transfer (GDBM_FILE dbf, GDBM_FILE new_dbf,
157 157
158 dbf->lock_type = new_dbf->lock_type;
158 dbf->desc = new_dbf->desc; 159 dbf->desc = new_dbf->desc;

Return to:

Send suggestions and report system problems to the System administrator.