diff options
author | bubulle@debian.org <> | 2006-12-07 19:12:55 +0100 |
---|---|---|
committer | bubulle@debian.org <> | 2006-12-07 19:12:55 +0100 |
commit | 5745571310a4f39bf2e0f6c4f0c6a56bed3c0eff (patch) | |
tree | 72219ef430e9afcd5a018dcfcea261b9867148db /apt-pkg/deb/debsrcrecords.h | |
parent | 756f23c42c241feecacba7780da08e7ee6c43869 (diff) | |
parent | f88137b8972f57c52bbadf54a80932f225562a95 (diff) |
Merged with Michael
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 |