~ubuntu-branches/ubuntu/trusty/apt/trusty

« back to all changes in this revision

Viewing changes to apt-inst/deb/debfile.cc

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2014-04-01 17:48:58 UTC
  • mfrom: (1.4.87 sid)
  • Revision ID: package-import@ubuntu.com-20140401174858-4mv29mm29zu22fn1
Tags: 1.0.1ubuntu1
merge with the debian/sid 1.0.1 version
(LP: #1302033)

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include <apt-pkg/debfile.h>
22
22
#include <apt-pkg/extracttar.h>
23
23
#include <apt-pkg/error.h>
24
 
#include <apt-pkg/deblistparser.h>
25
24
#include <apt-pkg/aptconfiguration.h>
 
25
#include <apt-pkg/arfile.h>
 
26
#include <apt-pkg/dirstream.h>
 
27
#include <apt-pkg/fileutl.h>
 
28
#include <apt-pkg/tagfile.h>
26
29
 
 
30
#include <string.h>
 
31
#include <string>
 
32
#include <vector>
27
33
#include <sys/stat.h>
28
 
#include <unistd.h>
 
34
 
29
35
#include <apti18n.h>
30
36
                                                                        /*}}}*/
31
37
 
196
202
// ---------------------------------------------------------------------
197
203
/* Just memcopy the block from the tar extractor and put it in the right
198
204
   place in the pre-allocated memory block. */
199
 
bool debDebFile::MemControlExtract::Process(Item &Itm,const unsigned char *Data,
 
205
bool debDebFile::MemControlExtract::Process(Item &/*Itm*/,const unsigned char *Data,
200
206
                             unsigned long Size,unsigned long Pos)
201
207
{
202
208
   memcpy(Control + Pos, Data,Size);