]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1832: Error building squid-2.6.STABLE5 using --enable-truncate
authorserassio <>
Sun, 26 Nov 2006 03:12:38 +0000 (03:12 +0000)
committerserassio <>
Sun, 26 Nov 2006 03:12:38 +0000 (03:12 +0000)
src/DiskIO/DiskThreads/DiskThreadsIOStrategy.cc

index f06585af3b8bb06328d0c1dfacd18bc9a5fd327e..a0137c4fdfaa9857e05e1e3dc8cceb286e1efbef 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: DiskThreadsIOStrategy.cc,v 1.9 2006/09/03 21:05:20 hno Exp $
+ * $Id: DiskThreadsIOStrategy.cc,v 1.10 2006/11/25 20:12:38 serassio Exp $
  *
  * DEBUG: section 79    Squid-side Disk I/O functions.
  * AUTHOR: Robert Collins
@@ -259,7 +259,7 @@ DiskThreadsIOStrategy::unlinkFile(char const *path)
     statCounter.syscalls.disk.unlinks++;
 #if USE_TRUNCATE
 
-    aioTruncate(path, NULL, NULL);
+    aioTruncate(path, 0, NULL, NULL);
 #else
 
     aioUnlink(path, NULL, NULL);