]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1371: aufs fails to compile with --enable-truncate
authorhno <>
Mon, 26 Sep 2005 03:02:32 +0000 (03:02 +0000)
committerhno <>
Mon, 26 Sep 2005 03:02:32 +0000 (03:02 +0000)
src/DiskIO/DiskThreads/DiskThreadsIOStrategy.cc

index be92d16bc9d60f6123b01fed4a95f47695e45db1..fad9fa57631a6eeedca9261f4c7a64c4e3fa8dea 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: DiskThreadsIOStrategy.cc,v 1.3 2005/04/06 20:36:10 serassio Exp $
+ * $Id: DiskThreadsIOStrategy.cc,v 1.4 2005/09/25 21:02:32 hno Exp $
  *
  * DEBUG: section 79    Squid-side Disk I/O functions.
  * AUTHOR: Robert Collins
@@ -248,7 +248,7 @@ void
 DiskThreadsIOStrategy::unlinkFile(char const *path)
 {
     statCounter.syscalls.disk.unlinks++;
-#if USE_TRUNCATE_NOT_UNLINK
+#if USE_TRUNCATE
 
     aioTruncate(path, NULL, NULL);
 #else