com php-src: Keep the compile time condition for the label use: ext/standard/dir.c
| From: | Anatol Belski | Date: | Fri, 17 Nov 2017 17:46:57 +0000 |
| Subject: | com php-src: Keep the compile time condition for the label use: ext/standard/dir.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-100292@lists.php.net to get a copy of this message | ||
Commit: 70427b11072815ac4b7b9cc0c511b2aa5f401b93
Author: Anatol Belski <ab@php.net> Fri, 17 Nov 2017 18:46:57 +0100
Parents: 6e3cdf1dcca22e7ae62ad61c319ae0e37fca6324
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=70427b11072815ac4b7b9cc0c511b2aa5f401b93
Log:
Keep the compile time condition for the label use
Changed paths:
M ext/standard/dir.c
Diff:
diff --git a/ext/standard/dir.c b/ext/standard/dir.c
index 797ea1f..cc518a4 100644
--- a/ext/standard/dir.c
+++ b/ext/standard/dir.c
@@ -493,7 +493,9 @@ PHP_FUNCTION(glob)
/* now catch the FreeBSD style of "no matches" */
if (!globbuf.gl_pathc || !globbuf.gl_pathv) {
+#ifdef GLOB_NOMATCH
no_results:
+#endif
#ifndef PHP_WIN32
/* Paths containing '*', '?' and some other chars are
illegal on Windows but legit on other platforms. For