[Asterisk-cvs] asterisk/apps app_festival.c,1.24,1.25

markster at lists.digium.com markster at lists.digium.com
Tue Aug 31 10:56:32 CDT 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv31954/apps

Modified Files:
	app_festival.c 
Log Message:
Make app_festival change more portable, allow '*' for context in iax2


Index: app_festival.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_festival.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- app_festival.c	31 Aug 2004 13:37:30 -0000	1.24
+++ app_festival.c	31 Aug 2004 14:59:57 -0000	1.25
@@ -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,S_IRWXU);
+    			fdesc=open(cachefile,O_CREAT|O_RDWR,0777);
     			if (fdesc!=-1) {
     				writecache=1;
     				strln=strlen((char *)data);




More information about the svn-commits mailing list