File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 6
6
. Fixed bug GH-8115 (Can't catch arg type deprecation when instantiating Intl
7
7
classes). (ilutov)
8
8
9
+ - Standard:
10
+ . Fixed bug GH-8048 (Force macOS to use statfs). (risner)
11
+
9
12
17 Mar 2022, PHP 8.1.4
10
13
11
14
- Core:
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