projects
/
platform
/
core
/
security
/
device-policy-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b984871
)
Fix the bug of DirectoryIterator
20/64520/1
author
Sungbae Yoo
<sungbae.yoo@samsung.com>
Fri, 1 Apr 2016 12:19:00 +0000
(21:19 +0900)
committer
Sungbae Yoo
<sungbae.yoo@samsung.com>
Fri, 1 Apr 2016 12:19:00 +0000
(21:19 +0900)
Change-Id: I853095afd5a7837233028015ac78fd1bcd303454
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
common/filesystem.cpp
patch
|
blob
|
history
diff --git
a/common/filesystem.cpp
b/common/filesystem.cpp
index
d5956e7
..
de56ef5
100644
(file)
--- a/
common/filesystem.cpp
+++ b/
common/filesystem.cpp
@@
-353,10
+353,6
@@
void DirectoryIterator::next()
std::string name;
struct dirent entry, *ent;
- if (readdir_r(directoryHandle, &entry, &ent) != 0) {
- throw runtime::Exception(runtime::GetSystemErrorMessage());
- }
-
while (1) {
if (readdir_r(directoryHandle, &entry, &ent) != 0) {
throw runtime::Exception(runtime::GetSystemErrorMessage());