aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/ael
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-26 15:20:17 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-26 15:20:17 +0000
commit09e637ccea4a431ea05d13e8890a6e61ee6ebe4e (patch)
tree63aa53e100221c164f2b2bd6ab2f423c0d9f887e /pbx/ael
parent5884570f857e2f3b16586e95eaf5a0f63d21553e (diff)
Merged revisions 59200 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r59200 | file | 2007-03-26 11:16:29 -0400 (Mon, 26 Mar 2007) | 2 lines Have ast_copy_string magically appear in the aelparse binary! DONT_OPTIMIZE should now work once again. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59201 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/ael')
-rw-r--r--pbx/ael/ael_lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/ael/ael_lex.c b/pbx/ael/ael_lex.c
index 91cc3e7db..55c7d06a9 100644
--- a/pbx/ael/ael_lex.c
+++ b/pbx/ael/ael_lex.c
@@ -1683,7 +1683,7 @@ YY_RULE_SETUP
if (*(p1+1) != '/')
snprintf(fnamebuf, sizeof(fnamebuf), "%s/%s", ast_config_AST_CONFIG_DIR, p1 + 1);
else
-#if defined(STANDALONE) || defined(LOW_MEMORY)
+#if defined(STANDALONE) || defined(LOW_MEMORY) || defined(STANDALONE_AEL)
strncpy(fnamebuf, p1 + 1, sizeof(fnamebuf) - 1);
#else
ast_copy_string(fnamebuf, p1 + 1, sizeof(fnamebuf));