]> granicus.if.org Git - php/commit
The d_name member of struct dirent should be a pointer
authorAnatol Belski <ab@php.net>
Sun, 12 Feb 2017 21:13:21 +0000 (22:13 +0100)
committerAnatol Belski <ab@php.net>
Sun, 12 Feb 2017 21:23:51 +0000 (22:23 +0100)
commit0d529d6eb323d425615050dae97584e5fad14b30
tree7a9c3a850a4829f1df646b9f2cb65e470e566db5
parente637cd82a01747dd47733e873c9423e9903ea170
The d_name member of struct dirent should be a pointer

Rework for 60950702, so then any encoding is supported. The path
segment length is measured in wchar_t size, whereby the number
of wchar_t is 255+\0. This means, in the actual encoding, the path
segment size can become (255*<bytes per glyph>)+\0 bytes in worst
case. It is still valid, as all the FS API uses wide chars
internally.
win32/readdir.c
win32/readdir.h