fix handling of d_name in struct dirent
[musl] / include / dirent.h
index ca000bd..7b70abd 100644 (file)
@@ -18,7 +18,7 @@ struct dirent
        off_t d_off;
        unsigned short d_reclen;
        unsigned char d_type;
-       char d_name[1];
+       char d_name[256];
 };
 
 #define d_fileno d_ino