summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2008-11-04 17:23:33 +0000
committerSean Bright <sean@malleable.com>2008-11-04 17:23:33 +0000
commitf349f18eaa39d9cae33103db9b723afee194abcc (patch)
treee228ac8e04ceccd12755edd91dac11fde9429da2
parent6ba4e7853e2c1549ad87621c00f579cb63d3cf68 (diff)
GLOB_BRACE is already added to MY_GLOB_FLAGS if it is supported on the
platform. This should resolve some build errors on Solaris. (issue #13704) Reported by: dougm git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@154191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--main/pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 0df8b1377..438403e93 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -6468,7 +6468,7 @@ int ast_load_documentation(void)
ast_asprintf(&xmlpattern, "%s/documentation{/thirdparty/,/}*-{%s,%.2s_??,%s}.xml", ast_config_AST_DATA_DIR,
documentation_language, documentation_language, default_documentation_language);
globbuf.gl_offs = 0; /* initialize it to silence gcc */
- globret = glob(xmlpattern, MY_GLOB_FLAGS | GLOB_BRACE, NULL, &globbuf);
+ globret = glob(xmlpattern, MY_GLOB_FLAGS, NULL, &globbuf);
if (globret == GLOB_NOSPACE) {
ast_log(LOG_WARNING, "Glob Expansion of pattern '%s' failed: Not enough memory\n", xmlpattern);
ast_free(xmlpattern);