kopia lustrzana https://github.com/micropython/micropython-lib
os: Fix 64-bit Linux support.
ino_t and off_t types (d_ino and d_off fields) appear to be defined as unsigned long on Linux. TODO: Move readdir wrapper function to C, because DIRENT layout is inherently OS-specific.pull/7/head
rodzic
46ede279d8
commit
a3495c40bf
|
@ -105,7 +105,7 @@ def ilistdir_ex(path="."):
|
|||
if not dir:
|
||||
raise_error()
|
||||
res = []
|
||||
dirent_fmt = "iiHB256s"
|
||||
dirent_fmt = "LLHB256s"
|
||||
while True:
|
||||
dirent = readdir_(dir)
|
||||
if not dirent:
|
||||
|
|
Ładowanie…
Reference in New Issue