~ubuntu-branches/debian/experimental/apt/experimental

« back to all changes in this revision

Viewing changes to apt-pkg/clean.cc

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2010-02-18 22:07:23 UTC
  • mfrom: (9.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100218220723-zb7zdh6fmsmp30tr
Tags: 0.7.26~exp2
fix crash when LANGUAGE is not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
                                                                        /*}}}*/
10
10
// Includes                                                             /*{{{*/
11
11
#include <apt-pkg/clean.h>
12
 
#include <apt-pkg/contrib/strutl.h>
13
 
#include <apt-pkg/contrib/error.h>
14
 
#include <apt-pkg/contrib/configuration.h>
 
12
#include <apt-pkg/strutl.h>
 
13
#include <apt-pkg/error.h>
 
14
#include <apt-pkg/configuration.h>
15
15
 
16
16
#include <apti18n.h>    
17
17
 
19
19
#include <sys/stat.h>
20
20
#include <unistd.h>
21
21
                                                                        /*}}}*/
22
 
 
23
22
// ArchiveCleaner::Go - Perform smart cleanup of the archive            /*{{{*/
24
23
// ---------------------------------------------------------------------
25
24
/* Scan the directory for files to erase, we check the version information