Closed rasky closed 7 months ago
Currently, stat() implementation in system.c is to use open() + fstat(): https://github.com/DragonMinded/libdragon/blob/f4c89db76ee956a3c27d39c6b4e650a45a42010f/src/system.c#L1054-L1061
This doesn't allow to stat() directories, for filesystems where that is allowed like FAT used on SD cards.
https://github.com/DragonMinded/libdragon/commit/8dd362b8d858ae60befe9d27bc55cf770b9b50af
Currently, stat() implementation in system.c is to use open() + fstat(): https://github.com/DragonMinded/libdragon/blob/f4c89db76ee956a3c27d39c6b4e650a45a42010f/src/system.c#L1054-L1061
This doesn't allow to stat() directories, for filesystems where that is allowed like FAT used on SD cards.