diff options
author | Michael Vogt <egon@bottom> | 2006-12-01 14:24:33 +0100 |
---|---|---|
committer | Michael Vogt <egon@bottom> | 2006-12-01 14:24:33 +0100 |
commit | ec759a799176881468b85f14c37d3964e199effb (patch) | |
tree | 1f4d511a670488ef615e5a63535f4a4b14e12c99 /apt-pkg/deb/debsrcrecords.h | |
parent | f70974f746ee8dfafc9a1ac6c9c6d9de22356f13 (diff) | |
parent | 4ab24e53db1d39cd26072f03795efd0f6425a369 (diff) |
* merged from main
Diffstat (limited to 'apt-pkg/deb/debsrcrecords.h')
-rw-r--r-- | apt-pkg/deb/debsrcrecords.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apt-pkg/deb/debsrcrecords.h b/apt-pkg/deb/debsrcrecords.h index f899993df..f4e2cb46c 100644 --- a/apt-pkg/deb/debsrcrecords.h +++ b/apt-pkg/deb/debsrcrecords.h @@ -24,9 +24,10 @@ class debSrcRecordParser : public pkgSrcRecords::Parser FileFd Fd; pkgTagFile Tags; pkgTagSection Sect; - char Buffer[10000]; char *StaticBinList[400]; unsigned long iOffset; + char *Buffer; + unsigned long BufSize; public: @@ -49,10 +50,9 @@ class debSrcRecordParser : public pkgSrcRecords::Parser }; virtual bool Files(vector<pkgSrcRecords::File> &F); - debSrcRecordParser(string File,pkgIndexFile const *Index) : - Parser(Index), - Fd(File,FileFd::ReadOnly), - Tags(&Fd,102400) {}; + debSrcRecordParser(string File,pkgIndexFile const *Index) + : Parser(Index), Fd(File,FileFd::ReadOnly), Tags(&Fd,102400), + Buffer(0), BufSize(0) {} }; #endif |