summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debsrcrecords.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-09-21 19:31:03 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-09-21 19:31:03 +0200
commit39fb1e241ebb76c7e51c8d8f2f76ce5f1e680859 (patch)
tree3549b524b4b078e9b56d4dac7d61cf5f678a1ec6 /apt-pkg/deb/debsrcrecords.h
parent87da74517a0defa3450d0f3d8c3275f6963d0f5e (diff)
* apt-pkg/deb/debsrcrecords.cc:
- remove the limit of 400 Binaries for a source package (Closes: #622110)
Diffstat (limited to 'apt-pkg/deb/debsrcrecords.h')
-rw-r--r--apt-pkg/deb/debsrcrecords.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/apt-pkg/deb/debsrcrecords.h b/apt-pkg/deb/debsrcrecords.h
index bb588e3d9..4c8d03224 100644
--- a/apt-pkg/deb/debsrcrecords.h
+++ b/apt-pkg/deb/debsrcrecords.h
@@ -24,10 +24,9 @@ class debSrcRecordParser : public pkgSrcRecords::Parser
FileFd Fd;
pkgTagFile Tags;
pkgTagSection Sect;
- char *StaticBinList[400];
+ std::vector<const char*> StaticBinList;
unsigned long iOffset;
char *Buffer;
- unsigned int BufSize;
public:
@@ -52,7 +51,7 @@ class debSrcRecordParser : public pkgSrcRecords::Parser
debSrcRecordParser(std::string const &File,pkgIndexFile const *Index)
: Parser(Index), Fd(File,FileFd::ReadOnlyGzip), Tags(&Fd,102400),
- Buffer(0), BufSize(0) {}
+ Buffer(NULL) {}
virtual ~debSrcRecordParser();
};