bugGNU dbm - Bugs: bug #565, error will occur when dump a...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #565: error will occur when dump a database contain key-value pair of zero size

Submitted by:  wangzhiqiang <foolstrong>
Submitted on:  Thu Jun 9 06:26:10 2022  
 
Category: NonePriority: 5 - Normal
Severity: 7 - ImportantStatus: Fixed
Privacy: PublicAssigned to: Sergey Poznyakoff <gray>
Open/Closed: Closed

Thu Jun 9 19:48:34 2022, comment #1:

Thanks. Fixed in 94d0a6238e9573473d2cfdc74135305b2f6741f2.

Notice, that you are advised against using binary dump format. See https://www.gnu.org.ua/software/gdbm/manual/Flat-files.html for details.

Sergey Poznyakoff <gray>
Project AdministratorIn charge of this item.
Thu Jun 9 06:26:10 2022, original submission:

[root@localhost src]# ./gdbmtool tt.gdbm

Welcome to the gdbm tool. Type ? for help.

gdbmtool> open
gdbmtool> store z
DATA?
gdbmtool> list
z
dgf 4
rwq 123
gdbmtool> q
[root@localhost src]# ./gdbm_dump -H 0 tt.gdbm backup
gdbm_dump: dump error: File write error: Success
[root@localhost src]# ./gdbm_load backup oo.gdbm
gdbm_load: cannot load from backup: File read error: Success
[root@localhost src]# ./gdbmtool oo.gdbm

Welcome to the gdbm tool. Type ? for help.

gdbmtool> list
gdbmtool> count
There are 0 items in the database.
gdbmtool>

wangzhiqiang <foolstrong>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gray (Posted a comment)
  • -unavailable- added by foolstrong (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    3 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Jun 9 19:48:34 2022grayStatusNone=>Fixed
      Assigned toNone=>gray
      Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray