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 22|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33?? ??? 2022, PHP 8.0.18
44
5+ - Standard:
6+ . Fixed bug GH-8048 (Force macOS to use statfs). (risner)
57
6817 Mar 2022, PHP 8.0.17
79
Original file line number Diff line number Diff line change 4242# include <os2.h>
4343#endif
4444
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+
4555#if defined(HAVE_SYS_STATVFS_H ) && defined(HAVE_STATVFS )
4656# include <sys/statvfs.h>
4757#elif defined(HAVE_SYS_STATFS_H ) && defined(HAVE_STATFS )
You can’t perform that action at this time.
0 commit comments