preliminary fix for bug #73971, more refactoring is needed

This commit is contained in:
Anatol Belski 2017-01-22 22:43:53 +01:00
parent 8782e847b4
commit 609507024f
3 changed files with 57 additions and 3 deletions

View file

@ -22,7 +22,7 @@ struct dirent {
long d_ino; /* inode (always 1 in WIN32) */
off_t d_off; /* offset to this dirent */
unsigned short d_reclen; /* length of d_name */
char d_name[PHP_WIN32_IOUTIL_MAXPATHLEN + 1]; /* filename (null terminated) */
char d_name[_MAX_FNAME*4+1]; /* filename with care about UTF-8 (null terminated) */
};
/* typedef DIR - not the same as Unix */