|
|
@@ -1,6 +1,6 @@
|
|
|
// -*- mode: cpp; mode: fold -*-
|
|
|
// Description /*{{{*/
|
|
|
-// $Id: debsrcrecords.h,v 1.4 1999/10/18 03:44:39 jgg Exp $
|
|
|
+// $Id: debsrcrecords.h,v 1.5 1999/10/18 04:15:25 jgg Exp $
|
|
|
/* ######################################################################
|
|
|
|
|
|
Debian Source Package Records - Parser implementation for Debian style
|
|
|
@@ -38,10 +38,9 @@ class debSrcRecordParser : public pkgSrcRecords::Parser
|
|
|
virtual string Section() {return Sect.FindS("Section");};
|
|
|
virtual const char **Binaries();
|
|
|
virtual unsigned long Offset() {return iOffset;};
|
|
|
- virtual unsigned long Length() {return Sec.size();};
|
|
|
virtual string AsStr()
|
|
|
{
|
|
|
- const char *Start,Stop;
|
|
|
+ const char *Start=0,*Stop=0;
|
|
|
Sect.GetSection(Start,Stop);
|
|
|
return string(Start,Stop);
|
|
|
};
|