projects
/
platform
/
core
/
security
/
cert-svc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ef62a2
)
Restore to fix dfsCheckDirectories
34/44034/1
author
Kyungwook Tak
<k.tak@samsung.com>
Thu, 16 Jul 2015 09:13:44 +0000
(18:13 +0900)
committer
Kyungwook Tak
<k.tak@samsung.com>
Thu, 16 Jul 2015 09:13:44 +0000
(18:13 +0900)
Change-Id: Ia194723f1f28b75db68b6c17eb43055dc7cfc03e
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
vcore/src/vcore/ReferenceValidator.cpp
patch
|
blob
|
history
diff --git
a/vcore/src/vcore/ReferenceValidator.cpp
b/vcore/src/vcore/ReferenceValidator.cpp
index
e8b810a
..
d8b839e
100644
(file)
--- a/
vcore/src/vcore/ReferenceValidator.cpp
+++ b/
vcore/src/vcore/ReferenceValidator.cpp
@@
-138,7
+138,11
@@
ReferenceValidator::Result ReferenceValidator::Impl::dfsCheckDirectories(
{
DIR *dp;
struct dirent *dirp;
- std::string currentDir = m_dirpath + directory;
+ std::string currentDir = m_dirpath;
+ if (!directory.empty()) {
+ currentDir += "/";
+ currentDir += directory;
+ }
if ((dp = opendir(currentDir.c_str())) == NULL) {
LogError("Error opening directory : " << currentDir);