Skip to content

sdb fails to sync from mem to file #140

@jroimartin

Description

@jroimartin

During the implementation of the command zos in r2 (save zigns), it's been found that syncing from mem to file was buggy. Current workaround:

    Sdb *db = sdb_new (NULL, file, 0);
    if (!db) {
        return false;
    }
    sdb_merge (db, a->sdb_zigns);
    retval = sdb_sync (db);
    sdb_close (db);
    sdb_free (db);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions