From: wessels <> Date: Thu, 5 Mar 1998 08:03:12 +0000 (+0000) Subject: goofy debug so we can track open files at exit X-Git-Tag: SQUID_3_0_PRE1~3917 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ac0b6e7c6b9898cedd0c6d0fb6ca3fae8010c16;p=thirdparty%2Fsquid.git goofy debug so we can track open files at exit --- diff --git a/src/disk.cc b/src/disk.cc index 20da6e0622..415e8fdb23 100644 --- a/src/disk.cc +++ b/src/disk.cc @@ -1,6 +1,6 @@ /* - * $Id: disk.cc,v 1.109 1998/03/03 22:54:40 wessels Exp $ + * $Id: disk.cc,v 1.110 1998/03/05 01:03:12 wessels Exp $ * * DEBUG: section 6 Disk I/O Routines * AUTHOR: Harvest Derived @@ -220,7 +220,8 @@ file_close(int fd) #else close(fd); #endif - debug(6, 2) ("file_close: FD %d, really closing\n", fd); + debug(6, EBIT_TEST(F->flags, FD_CLOSE_REQUEST) ? 2 : 5) + ("file_close: FD %d, really closing\n", fd); fd_close(fd); }