aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-08-31 14:59:58 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-08-31 14:59:58 +0000
commit28f0f8240e24ca71d123648b9078941eb3771be3 (patch)
treecaf2be633ba676105cc6820a0b6ca5e2898767dc /apps
parent22b635dce9a991053e720761bbecd1028969c15e (diff)
Make app_festival change more portable, allow '*' for context in iax2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3692 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_festival.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_festival.c b/apps/app_festival.c
index 14744bab5..82908f050 100755
--- a/apps/app_festival.c
+++ b/apps/app_festival.c
@@ -362,7 +362,7 @@ static int festival_exec(struct ast_channel *chan, void *vdata)
snprintf(cachefile, sizeof(cachefile), "%s/%s", cachedir, MD5Hex);
fdesc=open(cachefile,O_RDWR);
if (fdesc==-1) {
- fdesc=open(cachefile,O_CREAT|O_RDWR,S_IRWXU);
+ fdesc=open(cachefile,O_CREAT|O_RDWR,0777);
if (fdesc!=-1) {
writecache=1;
strln=strlen((char *)data);