X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fpython%2Fyaffs_browser.py;h=1239fe2b56071d3a1d574daf94b059db769265d2;hp=15188438634abb66733526aa3acf23221782ce0b;hb=d2722819ebc5cb10f0de7998709cd7a087ea1301;hpb=00302ec53728a32022e3cb15123ed7192525ae68 diff --git a/direct/python/yaffs_browser.py b/direct/python/yaffs_browser.py index 1518843..1239fe2 100755 --- 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() - result = yaffs_stat(fullname,byref(st)) + result = yaffs_lstat(fullname,byref(st)) perms = st.st_mode & 0777 ftype = st.st_mode & yaffs_S_IFMT isFile = True if ftype == yaffs_S_IFREG else False