Skip to content

Commit 460dabb

Browse files
committed
main: remove OPENBASEDIR_CHECKPATH() compatibility macro
1 parent 900797e commit 460dabb

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

UPGRADING.INTERNALS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ PHP 8.6 INTERNALS UPGRADE NOTES
108108
instead of copying it in zend_call_function(). Currently only a single
109109
consumed argument is supported.
110110
. Added ZEND_CONTAINER_OF().
111+
. The OPENBASEDIR_CHECKPATH() compatibility macro has been removed, instead
112+
use php_check_open_basedir() directly.
111113

112114
========================
113115
2. Build system changes

main/fopen_wrappers.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ PHPAPI int php_check_open_basedir(const char *path);
2828
PHPAPI int php_check_open_basedir_ex(const char *path, int warn);
2929
PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path);
3030

31-
/* OPENBASEDIR_CHECKPATH(filename) to ease merge between 6.x and 5.x */
32-
#define OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename)
33-
3431
PHPAPI zend_string *php_resolve_path(const char *filename, size_t filename_len, const char *path);
3532

3633
PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const char *path, zend_string **opened_path);

0 commit comments

Comments
 (0)