File tree 3 files changed +8
-0
lines changed
ext/standard/tests/streams
3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,8 @@ PHP NEWS
81
81
. Fixed bug GH-15028 (Memory leak in ext/phar/stream.c). (nielsdos)
82
82
. Fixed bug GH-15034 (Integer overflow on stream_notification_callback
83
83
byte_max parameter with files bigger than 2GB). (nielsdos)
84
+ . Reverted fix for GH-14930 (Custom stream wrapper dir_readdir output
85
+ truncated to 255 characters). (Jakub Zelenka)
84
86
85
87
- Tidy:
86
88
. Fix memory leaks in ext/tidy basedir restriction code. (nielsdos)
Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
GH-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
3
5
--FILE--
4
6
<?php
5
7
Original file line number Diff line number Diff line change @@ -107,7 +107,11 @@ typedef struct _php_stream_statbuf {
107
107
} php_stream_statbuf ;
108
108
109
109
typedef struct _php_stream_dirent {
110
+ #ifdef NAME_MAX
111
+ char d_name [NAME_MAX + 1 ];
112
+ #else
110
113
char d_name [MAXPATHLEN ];
114
+ #endif
111
115
unsigned char d_type ;
112
116
} php_stream_dirent ;
113
117
You can’t perform that action at this time.
0 commit comments