[Asterisk-cvs] asterisk/apps app_festival.c,1.23,1.24
markster at lists.digium.com
markster at lists.digium.com
Tue Aug 31 09:34:04 CDT 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv31517/apps
Modified Files:
app_festival.c
Log Message:
Fix permissions for festival app (bug #2334)
Index: app_festival.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_festival.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- app_festival.c 14 Jul 2004 07:22:30 -0000 1.23
+++ app_festival.c 31 Aug 2004 13:37:30 -0000 1.24
@@ -362,7 +362,7 @@
snprintf(cachefile, sizeof(cachefile), "%s/%s", cachedir, MD5Hex);
fdesc=open(cachefile,O_RDWR);
if (fdesc==-1) {
- fdesc=open(cachefile,O_CREAT|O_RDWR,0);
+ fdesc=open(cachefile,O_CREAT|O_RDWR,S_IRWXU);
if (fdesc!=-1) {
writecache=1;
strln=strlen((char *)data);
More information about the svn-commits
mailing list