File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
ext/standard/tests/streams Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,8 @@ PHP NEWS
6565 . Fixed bug GH-15028 (Memory leak in ext/phar/stream.c). (nielsdos)
6666 . Fixed bug GH-15034 (Integer overflow on stream_notification_callback
6767 byte_max parameter with files bigger than 2GB). (nielsdos)
68+ . Reverted fix for GH-14930 (Custom stream wrapper dir_readdir output
69+ truncated to 255 characters). (Jakub Zelenka)
6870
6971- Tidy:
7072 . Fix memory leaks in ext/tidy basedir restriction code. (nielsdos)
Original file line number Diff line number Diff line change 11--TEST--
22GH-14930: Custom stream wrapper dir_readdir output truncated to 255 characters in PHP 8.3
3+ --XFAIL--
4+ Fix is an ABI break so reverted from 8.3
35--FILE--
46<?php
57
Original file line number Diff line number Diff line change @@ -107,7 +107,11 @@ typedef struct _php_stream_statbuf {
107107} php_stream_statbuf ;
108108
109109typedef struct _php_stream_dirent {
110+ #ifdef NAME_MAX
111+ char d_name [NAME_MAX + 1 ];
112+ #else
110113 char d_name [MAXPATHLEN ];
114+ #endif
111115 unsigned char d_type ;
112116} php_stream_dirent ;
113117
You can’t perform that action at this time.
0 commit comments