Skip to content

sdb fails to sync from mem to file #140

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);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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