[asterisk-commits] tilghman: branch 1.4 r76891 - /branches/1.4/main/app.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 24 15:42:06 CDT 2007


Author: tilghman
Date: Tue Jul 24 15:42:05 2007
New Revision: 76891

URL: http://svn.digium.com/view/asterisk?view=rev&rev=76891
Log:
Found another place where we should be using the umask (thanks jcmoore)

Modified:
    branches/1.4/main/app.c

Modified: branches/1.4/main/app.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/app.c?view=diff&rev=76891&r1=76890&r2=76891
==============================================================================
--- branches/1.4/main/app.c (original)
+++ branches/1.4/main/app.c Tue Jul 24 15:42:05 2007
@@ -548,7 +548,7 @@
 
 	end = start = time(NULL);  /* pre-initialize end to be same as start in case we never get into loop */
 	for (x = 0; x < fmtcnt; x++) {
-		others[x] = ast_writefile(prepend ? prependfile : recordfile, sfmt[x], comment, O_TRUNC, 0, 0700);
+		others[x] = ast_writefile(prepend ? prependfile : recordfile, sfmt[x], comment, O_TRUNC, 0, 0777);
 		if (option_verbose > 2)
 			ast_verbose(VERBOSE_PREFIX_3 "x=%d, open writing:  %s format: %s, %p\n", x, prepend ? prependfile : recordfile, sfmt[x], others[x]);
 




More information about the asterisk-commits mailing list