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-5.0.3~2281 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=640c8cc6149b5948712feb5431658fbee78470b7;p=bacula%2Frescue 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. ---