File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 2
2
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3
3
?? ??? 2022, PHP 8.0.18
4
4
5
+ - Standard:
6
+ . Fixed bug GH-8048 (Force macOS to use statfs). (risner)
5
7
6
8
17 Mar 2022, PHP 8.0.17
7
9
Original file line number Diff line number Diff line change 42
42
# include <os2.h>
43
43
#endif
44
44
45
+ #if defined(__APPLE__ )
46
+ /*
47
+ Apple statvfs has an interger overflow in libc copying to statvfs.
48
+ cvt_statfs_to_statvfs(struct statfs *from, struct statvfs *to) {
49
+ to->f_blocks = (fsblkcnt_t)from->f_blocks;
50
+ */
51
+ # undef HAVE_SYS_STATVFS_H
52
+ # undef HAVE_STATVFS
53
+ #endif
54
+
45
55
#if defined(HAVE_SYS_STATVFS_H ) && defined(HAVE_STATVFS )
46
56
# include <sys/statvfs.h>
47
57
#elif defined(HAVE_SYS_STATFS_H ) && defined(HAVE_STATFS )
You can’t perform that action at this time.
0 commit comments