cosmopolitan
cosmopolitan copied to clipboard
cosmo compile fails on filesystem shfs
mkdir_test.com fails when compiling cosmopolitan, in TearDownTmpDir > rmrf > rmrfdir, when compiling on filesystem 'shfs', which does not support dirent > d_type field, from getdents()
rmrfdir()
should fall back to using stat()
(or similar) when d_type
is DT_UNKNOWN
https://github.com/jart/cosmopolitan/blob/d6a039821f927cc81b71e11f21599ff93e1fed62/libc/x/rmrf.c#L41-L45