diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:58:04 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:58:04 +0000 |
commit | 50914ffaff8154a665e812c2d72c1195fc74dc33 (patch) | |
tree | 9f0a32871895bd71d1ba6118fcde7d85684cb888 /apt-pkg/deb | |
parent | 2d33c52cfb925610db6ecea1992c4a54211e1624 (diff) |
Fixed c_str handling
Author: jgg
Date: 2001-05-27 04:40:57 GMT
Fixed c_str handling
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r-- | apt-pkg/deb/dpkgpm.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index ce69ad6d6..91f74e128 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: dpkgpm.cc,v 1.21 2001/05/07 05:35:46 jgg Exp $ +// $Id: dpkgpm.cc,v 1.22 2001/05/27 04:40:57 jgg Exp $ /* ###################################################################### DPKG Package Manager - Provide an interface to dpkg @@ -354,7 +354,8 @@ bool pkgDPkgPM::Go() unsigned int n = 0; unsigned long Size = 0; - Args[n++] = _config->Find("Dir::Bin::dpkg","dpkg").c_str(); + string Tmp = _config->Find("Dir::Bin::dpkg","dpkg").c_str(); + Args[n++] = Tmp.c_str(); Size += strlen(Args[n-1]); // Stick in any custom dpkg options |