--------------------- PatchSet 2768 Date: 2001/08/17 23:26:23 Author: adri Branch: diskio Tag: (none) Log: Make the sdirno 8 bits, and the sfileno 32 bits. Members: src/structs.h:1.38.2.1->1.38.2.2 src/typedefs.h:1.23->1.23.2.1 Index: squid/src/structs.h =================================================================== RCS file: /cvsroot/squid-sf//squid/src/structs.h,v retrieving revision 1.38.2.1 retrieving revision 1.38.2.2 diff -u -r1.38.2.1 -r1.38.2.2 --- squid/src/structs.h 15 Aug 2001 23:54:36 -0000 1.38.2.1 +++ squid/src/structs.h 17 Aug 2001 23:26:23 -0000 1.38.2.2 @@ -1,6 +1,6 @@ /* - * $Id: structs.h,v 1.38.2.1 2001/08/15 23:54:36 adri Exp $ + * $Id: structs.h,v 1.38.2.2 2001/08/17 23:26:23 adri Exp $ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -1492,8 +1492,8 @@ time_t expires; time_t lastmod; size_t swap_file_sz; - sfileno swap_filen:25; - sdirno swap_dirn:7; + sfileno swap_filen; + sdirno swap_dirn; u_short refcount; u_short flags; u_short lock_count; /* Assume < 65536! */ Index: squid/src/typedefs.h =================================================================== RCS file: /cvsroot/squid-sf//squid/src/typedefs.h,v retrieving revision 1.23 retrieving revision 1.23.2.1 diff -u -r1.23 -r1.23.2.1 --- squid/src/typedefs.h 12 Aug 2001 15:20:28 -0000 1.23 +++ squid/src/typedefs.h 17 Aug 2001 23:26:24 -0000 1.23.2.1 @@ -1,6 +1,6 @@ /* - * $Id: typedefs.h,v 1.23 2001/08/12 15:20:28 squidadm Exp $ + * $Id: typedefs.h,v 1.23.2.1 2001/08/17 23:26:24 adri Exp $ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -39,7 +39,7 @@ typedef unsigned int ping_status_t; typedef unsigned int swap_status_t; typedef signed int sfileno; -typedef signed int sdirno; +typedef signed char sdirno; typedef struct { size_t bytes;