diff options
author | Michael Vogt <egon@bottom> | 2006-07-26 16:15:35 +0200 |
---|---|---|
committer | Michael Vogt <egon@bottom> | 2006-07-26 16:15:35 +0200 |
commit | 91142a84b8cf5b3f06947647c032dbbd8a996a36 (patch) | |
tree | d28986aff20b416811f0b20b6b69f7da33595631 /apt-pkg/tagfile.h | |
parent | 961c7214468e3fce4deb432d3a0b31b2510aaafe (diff) | |
parent | 99c2e5aca0b8284762158b5052766a7d64bf4ffd (diff) |
* support non-mmapable files again
Diffstat (limited to 'apt-pkg/tagfile.h')
-rw-r--r-- | apt-pkg/tagfile.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apt-pkg/tagfile.h b/apt-pkg/tagfile.h index 5cff2681c..dd481ba51 100644 --- a/apt-pkg/tagfile.h +++ b/apt-pkg/tagfile.h @@ -74,16 +74,19 @@ class pkgTagFile char *Buffer; char *Start; char *End; + bool Done; unsigned long iOffset; unsigned long Size; + bool Fill(); + public: bool Step(pkgTagSection &Section); inline unsigned long Offset() {return iOffset;}; bool Jump(pkgTagSection &Tag,unsigned long Offset); - pkgTagFile(FileFd *F,unsigned long Size = 32*1024); + pkgTagFile(FileFd *F,unsigned long Size = 64*1024); ~pkgTagFile(); }; |