]> git.ipfire.org Git - thirdparty/squid.git/commit
More adjustments of sfileno/sdirno.
authorhno <>
Tue, 9 Jan 2001 21:11:14 +0000 (21:11 +0000)
committerhno <>
Tue, 9 Jan 2001 21:11:14 +0000 (21:11 +0000)
commitdc986280dcedbdfc0490d4751b486dcc06727cc9
tree4a11f526c2526b86cdc1323fbe38c6dd5dbc0541
parent103b5a5691bd614d5469a5bee25bf5dcb8d7dd01
More adjustments of sfileno/sdirno.

* sdirno type changed back to int, as GCC does not like to use char
  for integer operations (array indexing).
* sizes adjusted to
   swap_filen:25
   swap_dirn:7
   This limits the cache size to
      files/cache_dir:  2^24  (16777216)
      cache_dirs     :  2^6-1 (63)
* a couple of asserts added to ensure the above limits.
src/cache_cf.cc
src/filemap.cc
src/structs.h
src/typedefs.h