summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/cdromutl.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-07-26 12:02:40 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-07-26 12:02:40 +0200
commit5af23ac14695d7f09dcd5fa55d1c822de4a05718 (patch)
tree69fad33da1d4f16a78fe89b4f679ee647ce1aa59 /apt-pkg/contrib/cdromutl.cc
parent38c19831778f9bedb8538a65ac5bafed29e1941c (diff)
parentcca2efe60edfae106380a55ee4fb561aa570f2c9 (diff)
merged from lp:~mvo/apt/mvo
Diffstat (limited to 'apt-pkg/contrib/cdromutl.cc')
-rw-r--r--apt-pkg/contrib/cdromutl.cc4
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);
}
}
}