summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/mmap.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:25 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:25 +0000
commite5eebd12b7d7faf31210511dbf15edbda508ffc4 (patch)
treebe8a6ee3610d52a5902619e88f2cca939a7d5555 /apt-pkg/contrib/mmap.h
parent0919e3f9400aba51bd73e7f90c6d1ba4406b5421 (diff)
Widened the mmap size
Author: jgg Date: 1998-11-12 03:14:39 GMT Widened the mmap size
Diffstat (limited to 'apt-pkg/contrib/mmap.h')
-rw-r--r--apt-pkg/contrib/mmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/mmap.h b/apt-pkg/contrib/mmap.h
index 512b8bcf6..682024789 100644
--- a/apt-pkg/contrib/mmap.h
+++ b/apt-pkg/contrib/mmap.h
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: mmap.h,v 1.6 1998/07/19 04:42:15 jgg Exp $
+// $Id: mmap.h,v 1.7 1998/11/12 03:14:40 jgg Exp $
/* ######################################################################
MMap Class - Provides 'real' mmap or a faked mmap using read().
@@ -89,7 +89,7 @@ class DynamicMMap : public MMap
inline unsigned long WriteString(string S) {return WriteString(S.begin(),S.size());};
void UsePools(Pool &P,unsigned int Count) {Pools = &P; PoolCount = Count;};
- DynamicMMap(FileFd &F,unsigned long Flags,unsigned long WorkSpace = 1024*1024);
+ DynamicMMap(FileFd &F,unsigned long Flags,unsigned long WorkSpace = 2*1024*1024);
virtual ~DynamicMMap();
};