From: Rusty Russell Date: Tue, 4 Aug 2009 03:52:28 +0000 (+0930) Subject: Wean off TDB_ERRCODE. X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=bcf7916c5d694858766869dfd570e525127154a6;hp=bcf7916c5d694858766869dfd570e525127154a6;p=ccan Wean off TDB_ERRCODE. 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. ---