• Rusty Russell's avatar
    Wean off TDB_ERRCODE. · bcf7916c
    Rusty Russell authored
    It was a regrettable hack to reduce line count in tdb; in fact it caused confusion as can be seen in this patch.
    In particular, ecode now needs to be set before TDB_LOG.
    Also, we should never set errno, as io.c was doing.
    bcf7916c
lock.c 14.9 KB