Commit 8388516
committed
Fix build: use php_globfree wrapper in ZipArchive::addGlob early returns
GH-21702 added two `globfree()` calls at the no-match and open_basedir
reject paths, but called `globfree` directly instead of the `php_globfree`
wrapper used at the success path below. On systems where `<glob.h>` isn't
transitively included, the build breaks with
`-Werror=implicit-function-declaration`.
Match the existing wrapper usage at line 715.1 parent 9b8a647 commit 8388516
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
676 | 676 | | |
677 | 677 | | |
678 | 678 | | |
679 | | - | |
| 679 | + | |
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
685 | 685 | | |
686 | | - | |
| 686 | + | |
687 | 687 | | |
688 | 688 | | |
689 | 689 | | |
| |||
0 commit comments