Add missing patch
authorMark Spencer <markster@digium.com>
Wed, 15 Dec 2004 16:01:13 +0000 (16:01 +0000)
committerMark Spencer <markster@digium.com>
Wed, 15 Dec 2004 16:01:13 +0000 (16:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4454 65c4cc65-6c06-0410-ace0-fbb531ad65f3

config.c

index 20f99f7..baba870 100755 (executable)
--- a/config.c
+++ b/config.c
@@ -514,7 +514,7 @@ static struct ast_config *__ast_load(const char *configfile, struct ast_config *
                glob_t globbuf;
                globbuf.gl_offs = 0;    /* initialize it to silence gcc */
 #ifdef SOLARIS
                glob_t globbuf;
                globbuf.gl_offs = 0;    /* initialize it to silence gcc */
 #ifdef SOLARIS
-               glob_ret = glob(fn, GLOB_NOMAGIC, NULL, &globbuf);
+               glob_ret = glob(fn, GLOB_NOCHECK, NULL, &globbuf);
 #else
                glob_ret = glob(fn, GLOB_NOMAGIC|GLOB_BRACE, NULL, &globbuf);
 #endif
 #else
                glob_ret = glob(fn, GLOB_NOMAGIC|GLOB_BRACE, NULL, &globbuf);
 #endif