diff options
author | Michael Vogt <mvo@debian.org> | 2014-01-26 08:15:29 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-01-26 08:15:29 +0100 |
commit | 796673c38509300c988fbba2f2679ba3c76916db (patch) | |
tree | 403055b486d0a1d65561528582d4b0bdc66e53a0 /apt-pkg/contrib/fileutl.cc | |
parent | 9aef3908c892f9d9349d8bf8a5ceaeea313ba0fe (diff) | |
parent | 2f958de6e883ba7b0c9895750d4dde35047f1e82 (diff) |
Merge remote-tracking branch 'donkult/debian/sid' into debian/sid
Conflicts:
apt-private/private-list.cc
doc/po/de.po
test/integration/framework
Diffstat (limited to 'apt-pkg/contrib/fileutl.cc')
-rw-r--r-- | apt-pkg/contrib/fileutl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc index ffb8b4b53..37155b688 100644 --- a/apt-pkg/contrib/fileutl.cc +++ b/apt-pkg/contrib/fileutl.cc @@ -319,7 +319,7 @@ bool CreateDirectory(string const &Parent, string const &Path) return false; // we are not going to create directories "into the blue" - if (Path.find(Parent, 0) != 0) + if (Path.compare(0, Parent.length(), Parent) != 0) return false; vector<string> const dirs = VectorizeString(Path.substr(Parent.size()), '/'); |