diff options
| author | Bob Weinand <bobwei9@hotmail.com> | 2016-10-12 22:16:11 +0200 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2016-10-14 01:50:48 +0200 |
| commit | 06df34072e8b62145e3aa2abf03430ac6c5a8a80 (patch) | |
| tree | 17acbde8af8d463523bf58575ac4d3576240b091 /sapi/phpdbg/phpdbg_bp.c | |
| parent | f8be3ede4fa7a1f7514c7e1dfc004031a881e660 (diff) | |
| download | php-git-06df34072e8b62145e3aa2abf03430ac6c5a8a80.tar.gz | |
Fix accidental PHPDBG_ABI break
(cherry picked from commit 671d8054f85d2dec1a00201a73ab792847c13919)
Diffstat (limited to 'sapi/phpdbg/phpdbg_bp.c')
| -rw-r--r-- | sapi/phpdbg/phpdbg_bp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_bp.c b/sapi/phpdbg/phpdbg_bp.c index da4c8f71bf..a690a77af8 100644 --- a/sapi/phpdbg/phpdbg_bp.c +++ b/sapi/phpdbg/phpdbg_bp.c @@ -230,7 +230,12 @@ PHPDBG_API void phpdbg_export_breakpoints_to_string(char **str) /* {{{ */ } } /* }}} */ -PHPDBG_API void phpdbg_set_breakpoint_file(const char *path, size_t path_len, long line_num) /* {{{ */ +PHPDBG_API void phpdbg_set_breakpoint_file(const char *path, long line_num) /* {{{ */ +{ + phpdbg_set_breakpoint_file_ex(path, 0, line_num); +} /* }}} */ + +PHPDBG_API void phpdbg_set_breakpoint_file_ex(const char *path, size_t path_len, long line_num) /* {{{ */ { php_stream_statbuf ssb; char realpath[MAXPATHLEN]; |
