fix: reject opening directories as files in ext2 and fat32, add mbrtowc to libc

This commit is contained in:
2026-08-30 09:50:11 +02:00
parent fdbb233cd3
commit fd397ac41d
5 changed files with 28 additions and 1 deletions
+1
View File
@@ -21,6 +21,7 @@ typedef struct {
/* Byte-oriented C locale only: one byte, one character. */
size_t mbstowcs(wchar_t *dst, const char *src, size_t n);
int mblen(const char *s, size_t n);
size_t mbrtowc(wchar_t *pwc, const char *s, size_t n, mbstate_t *ps);
#ifdef __cplusplus
}