Re: PATCH: Cygwin: file mode support and ufs writecleanswap bugfix

From: Robert Collins <robert.collins@dont-contact.us>
Date: Fri, 5 Jan 2001 01:42:10 +1100

I just noticed the new function storeDirGetBlkSize in the latest head merge.
Well it's broken on windows... sys/vfs needs to be included. included is a patch.

As a side question - this assumes the store dir is on a standard fs - which with coss or some even more esoteric system it may not
be. Shouldn't this be a fs module call?

Rob

Index: squid.h
===================================================================
RCS file: /cvsroot/squid/squid/src/squid.h,v
retrieving revision 1.1.1.3.12.5.4.1
diff -u -r1.1.1.3.12.5.4.1 squid.h
--- squid.h 2001/01/04 12:17:09 1.1.1.3.12.5.4.1
+++ squid.h 2001/01/04 14:30:37
@@ -158,6 +158,9 @@
 #if HAVE_SYS_STAT_H
 #include <sys/stat.h>
 #endif
+#if HAVE_SYS_VFS_H
+#include <sys/vfs.h>
+#endif
 #if HAVE_SYS_UN_H
 #include <sys/un.h>
 #endif
Received on Thu Jan 04 2001 - 07:31:23 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:09 MST