projects
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a00123
)
apt-pkg/contrib/cdromutl.cc: style fixes (thanks to David for his code-review)
author
Michael Vogt
<michael.vogt@ubuntu.com>
Fri, 10 Sep 2010 11:43:32 +0000
(13:43 +0200)
committer
Michael Vogt
<michael.vogt@ubuntu.com>
Fri, 10 Sep 2010 11:43:32 +0000
(13:43 +0200)
apt-pkg/contrib/cdromutl.cc
patch
|
blob
|
blame
|
history
diff --git
a/apt-pkg/contrib/cdromutl.cc
b/apt-pkg/contrib/cdromutl.cc
index 129e4a9f602605914c68993fd219a3ed492854e3..9c00f94b5fc4dc2c93fda1d6ddc4fce0f896606e 100644
(file)
--- a/
apt-pkg/contrib/cdromutl.cc
+++ b/
apt-pkg/contrib/cdromutl.cc
@@
-161,10
+161,10
@@
bool IdentCdrom(string CD,string &Res,unsigned int Version)
// used like a cdrom don't use "." as it will constantly change,
// use .disk instead
if (access(CD.c_str(), W_OK) == 0 && DirectoryExists(CD+string("/.disk"))) {
- CD = CD
+string
("/.disk");
+ CD = CD
.append
("/.disk");
if (_config->FindB("Debug::aptcdrom",false) == true)
- std::clog << "Found writable cdrom, using alternative path: "
- <<
CD.c_str() <<
std::endl;
+ std::clog << "Found writable cdrom, using alternative path: "
<< CD
+ << std::endl;
}
string StartDir = SafeGetCWD();