[asterisk-commits] trunk - r7524 in /trunk: ./ file.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Dec 19 13:08:43 CST 2005
Author: tilghman
Date: Mon Dec 19 13:08:42 2005
New Revision: 7524
URL: http://svn.digium.com/view/asterisk?rev=7524&view=rev
Log:
Merged revisions 7523 via svnmerge from
/branches/1.2
Modified:
trunk/ (props changed)
trunk/file.c
Propchange: trunk/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Mon Dec 19 13:08:42 2005
@@ -1,1 +1,1 @@
-/branches/1.2:1-7489,7491-7496,7498-7515,7519,7521
+/branches/1.2:1-7489,7491-7496,7498-7515,7519,7521,7523
Modified: trunk/file.c
URL: http://svn.digium.com/view/asterisk/trunk/file.c?rev=7524&r1=7523&r2=7524&view=diff
==============================================================================
--- trunk/file.c (original)
+++ trunk/file.c Mon Dec 19 13:08:42 2005
@@ -955,6 +955,8 @@
fs->filename = strdup(filename);
}
fs->vfs = NULL;
+ /* If truncated, we'll be at the beginning; if not truncated, then append */
+ f->seek(fs, 0, SEEK_END);
} else {
ast_log(LOG_WARNING, "Unable to rewrite %s\n", fn);
close(fd);
More information about the asterisk-commits
mailing list