projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs The yaffs browser's st.st_mode bug has now been fixed
[yaffs2.git]
/
direct
/
python
/
yaffs_browser.py
diff --git
a/direct/python/yaffs_browser.py
b/direct/python/yaffs_browser.py
index 15188438634abb66733526aa3acf23221782ce0b..1239fe2b56071d3a1d574daf94b059db769265d2 100755
(executable)
--- a/
direct/python/yaffs_browser.py
+++ b/
direct/python/yaffs_browser.py
@@
-167,7
+167,7
@@
def yaffs_ls(dname):
se = sep.contents
fullname = dname + se.d_name
st = yaffs_stat_struct()
se = sep.contents
fullname = dname + se.d_name
st = yaffs_stat_struct()
- result = yaffs_stat(fullname,byref(st))
+ result = yaffs_
l
stat(fullname,byref(st))
perms = st.st_mode & 0777
ftype = st.st_mode & yaffs_S_IFMT
isFile = True if ftype == yaffs_S_IFREG else False
perms = st.st_mode & 0777
ftype = st.st_mode & yaffs_S_IFMT
isFile = True if ftype == yaffs_S_IFREG else False