diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-07-26 12:02:40 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-07-26 12:02:40 +0200 |
commit | 5af23ac14695d7f09dcd5fa55d1c822de4a05718 (patch) | |
tree | 69fad33da1d4f16a78fe89b4f679ee647ce1aa59 /apt-pkg/contrib/cdromutl.cc | |
parent | 38c19831778f9bedb8538a65ac5bafed29e1941c (diff) | |
parent | cca2efe60edfae106380a55ee4fb561aa570f2c9 (diff) |
merged from lp:~mvo/apt/mvo
Diffstat (limited to 'apt-pkg/contrib/cdromutl.cc')
-rw-r--r-- | apt-pkg/contrib/cdromutl.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/contrib/cdromutl.cc b/apt-pkg/contrib/cdromutl.cc index 821e6d688..e25caf1a5 100644 --- a/apt-pkg/contrib/cdromutl.cc +++ b/apt-pkg/contrib/cdromutl.cc @@ -258,7 +258,9 @@ string FindMountPointForDevice(const char *devnode) if(TokSplitString(' ', buf, out, 10)) { fclose(f); - return string(out[1]); + // unescape the \0XXX chars in the path + string mount_point = out[1]; + return DeEscapeString(mount_point); } } } |