git://scientific.zcu.cz
/
dmlite-plugins-vfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6b9988
)
Comment out st_nlink workaround for now (fixes indirect recursion).
author
František Dvořák
<valtri@civ.zcu.cz>
Thu, 10 Oct 2013 12:44:14 +0000
(14:44 +0200)
committer
František Dvořák
<valtri@civ.zcu.cz>
Thu, 10 Oct 2013 12:44:14 +0000
(14:44 +0200)
src/VfsNs.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/VfsNs.cpp
b/src/VfsNs.cpp
index
5d0f3bc
..
85ee002
100644
(file)
--- a/
src/VfsNs.cpp
+++ b/
src/VfsNs.cpp
@@
-131,6
+131,8
@@
ExtendedStat VfsCatalog::extendedStat(const std::string& path, bool follow) thro
meta = vfsExtendedStat(components.back(), path, follow);
+#if 0
+// FIXME: openDir without permissions check and indirect recursion
// black magic - dmlite tests require proper count in st_nlink
if (S_ISDIR(meta.stat.st_mode)) {
Directory *dir;
@@
-146,6
+148,7
@@
ExtendedStat VfsCatalog::extendedStat(const std::string& path, bool follow) thro
closeDir(dir);
meta.stat.st_nlink = count;
}
+#endif
return meta;
}