From: Kern Sibbald Date: Fri, 22 Feb 2008 15:03:16 +0000 (+0000) Subject: kes Add patch from Martin Schmid scm@apsag.com that checks to see if X-Git-Tag: Release-3.0.0~1826 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=daf82d320356c2cf1047cf208b27cb581d5a4c83;p=bacula%2Fdocs kes Add patch from Martin Schmid scm@apsag.com that checks to see if ftruncate() actually works. In the case of some (cheap) NAS devices, it does not, and so recycling NAS Volumes does not work. The code simply unlink()s the file, then recreates it. This fixes bug #1011. ---