lp:gdbm

Created by DNS on 2011-10-03 and last modified on 2018-10-27
Get this branch:
bzr branch lp:gdbm

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
RBOSE VCS Imports
Project:
gdbm
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://git.sv.gnu.org/gdbm.git.

The next import is scheduled to run in 4 hours.

Last successful import was 1 hour ago.

Import started 1 hour ago on alnitak and finished 1 hour ago taking 15 seconds — see the log
Import started 7 hours ago on alnitak and finished 7 hours ago taking 15 seconds — see the log
Import started 14 hours ago on alnitak and finished 14 hours ago taking 15 seconds — see the log
Import started 20 hours ago on alnitak and finished 20 hours ago taking 15 seconds — see the log
Import started on 2019-09-17 on alnitak and finished on 2019-09-17 taking 15 seconds — see the log
Import started on 2019-09-17 on alnitak and finished on 2019-09-17 taking 15 seconds — see the log
Import started on 2019-09-16 on alnitak and finished on 2019-09-16 taking 20 seconds — see the log
Import started on 2019-09-16 on alnitak and finished on 2019-09-16 taking 15 seconds — see the log
Import started on 2019-09-16 on alnitak and finished on 2019-09-16 taking 15 seconds — see the log
Import started on 2019-09-15 on alnitak and finished on 2019-09-15 taking 15 seconds — see the log

Recent revisions

313. By Sergey Poznyakoff <email address hidden> on 2018-10-27

Version 1.18.1

312. By Sergey Poznyakoff <email address hidden> on 2018-10-18

Restore backward compatibility with older databases

* src/gdbmopen.c (validate_header): Silently accept databases with next_block
pointing beyond end of file.

311. By Sergey Poznyakoff <email address hidden> on 2018-10-18

Attempt recovery in case of invalid next_block header field

* src/gdbmopen.c (validate_header): Return GDBM_NEED_RECOVERY
if next_block is invalid.
(_gdbm_validate_header): New function.
(gdbm_fd_open): Set need_recovery depending on return from validate_header.
(gdbm_open): Bail out on invalid value of GDBM_OPENMASK bits.
* src/proto.h (_gdbm_validate_header): New proto.
* src/recover.c (check_db): Re-validate the header.
* src/gdbmtool.c (export_handler): Fix option processing.

310. By Sergey Poznyakoff <email address hidden> on 2018-08-31

Various bugfixes.

* compat/dbmopen.c (ndbm_open_dir_file0): Ignore ENOENT.
* src/falloc.c (push_avail_block): Free temporary storage no matter
what return status.
* src/gdbm.h.in (GDBM_FILE_TRUNCATE_ERROR): New error code.
* src/gdbmdump.c (_gdbm_dump_ascii): Initialize rc.
* src/gdbmerrno.c: Handle new error.code
* src/gdbmload.c (gdbm_load_bdb_dump): Initialize rc
* src/gdbmopen.c (_gdbm_ftruncate): New function.
(gdbm_fd_open): Use _gdbm_ftruncate. Check its return.
* src/gdbmseq.c (gdbm_firstkey): Initialize dsize
* src/gdbmtool.c (command_generator): Check if cmd is NULL.
(shouldn't happen, but anyways).
* src/mmap.c (_gdbm_mapped_lseek): Check for vailidity of the 'whence'
parameter.
* src/systems.h (TRUNCATE): Remove macro.
* src/util.c (vgetyn): Remove unnecessary assignment.

309. By Sergey Poznyakoff <email address hidden> on 2018-08-21

Version 1.18

308. By Sergey Poznyakoff <email address hidden> on 2018-08-19

Fix directory entry validation.

Bug reported by Miroslav Lichvar and Marek Skalick√Ĺ

* src/bucket.c (gdbm_dir_entry_valid_p): Fix lower limit for
the allowed bucket address. Initial allocation of second block
for the directory can be eventually returned to the available
list when the directory is expanded during bucket splitting.

307. By Sergey Poznyakoff <email address hidden> on 2018-08-12

Bugfix

* src/gdbmdump.c (_gdbm_dump_ascii): Clear the GDBM_ITEM_NOT_FOUND error.
* src/gdbmexp.c (gdbm_export_to_file): Likewise.
* NEWS: Update.

306. By Sergey Poznyakoff <email address hidden> on 2018-08-03

Bugfix

* src/gdbmopen.c (gdbm_avail_table_valid_p): Fix improper use of
the GDBM_DEBUG macro.

305. By Sergey Poznyakoff <email address hidden> on 2018-07-31

Bugfix

* src/gdbmsync.c (gdbm_sync): Always return a meaningful value

304. By Sergey Poznyakoff <email address hidden> on 2018-07-30

Version 1.17

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.