X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb%2Ftransaction.c;h=d6db8b01329913e09dbd55e6cec82aa61b0d4f9f;hp=6a34c4526993d73d25a13778474739a3afa0b971;hb=46b1a03e21303e03b68de213b41c0840767fbc96;hpb=2c67a284d11b5b030d8095df7ff2b31275d7d29c diff --git a/ccan/tdb/transaction.c b/ccan/tdb/transaction.c index 6a34c452..d6db8b01 100644 --- a/ccan/tdb/transaction.c +++ b/ccan/tdb/transaction.c @@ -989,7 +989,7 @@ int tdb_transaction_commit(struct tdb_context *tdb) not be backed up (as tdb rounding to block sizes means that file size changes are quite rare too). The following forces mtime changes when a transaction completes */ -#ifdef HAVE_UTIME +#if HAVE_UTIME utime(tdb->name, NULL); #endif