mirror of
https://github.com/radareorg/sdb.git
synced 2026-11-07 06:36:02 -10:00
Portable file primitives (open with delete sharing, unlink, mkdir, mkdirp and atomic replace) live in file.c with a single UTF-16 path conversion, leaving disk.c with the cdb write logic only. sdb_lock_db and sdb_unlock_db are now the only way to take or release a database lock, replacing the copies in sdb.c, main.c and tool.c.