Don't try ftruncate when the tdb is opened read-only
authorVolker Lendecke <vl@samba.org>
Wed, 16 Jan 2008 20:18:26 +0000 (21:18 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 16 Jan 2008 20:18:26 +0000 (21:18 +0100)
commite4f46d527411c54e8f26c05033b744c751810c32
treedb30f5b24d0478398a19430e9f151b3c93ae251e
parent4f95c58040f46f343f55f9a5db2655a5e3b62c00
Don't try ftruncate when the tdb is opened read-only

Tridge, Jeremy, please check!

Thanks,

Volker
source/lib/tdb/common/open.c