Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2010-07-20 02:05:25 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2010-07-20 02:05:25 +0400
commit5c516712274e08afcd350cfc41b00c572db4fdba (patch)
tree4c0ed57dd9dd033234c19a5156ae7340d416bd14 /source/blender/blenloader/intern/writefile.c
parentbf22acbaffd755a5b9eecd9e4c265fff8307f447 (diff)
parentc7ce37471d8f7858735695ad92db1731fa2c1ae3 (diff)
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r30325:30510
Diffstat (limited to 'source/blender/blenloader/intern/writefile.c')
-rw-r--r--source/blender/blenloader/intern/writefile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index d7879e739a3..0ca2b432be3 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -65,7 +65,7 @@ Any case: direct data is ALWAYS after the lib block
- write TEST (128x128, blend file preview, optional)
- write FileGlobal (some global vars)
- write SDNA
-- write USER if filename is ~/.B.blend
+- write USER if filename is ~/X.XX/config/startup.blend
*/
@@ -2491,7 +2491,7 @@ int BLO_write_file(Main *mainvar, char *dir, int write_flags, ReportList *report
file = open(tempname,O_BINARY+O_WRONLY+O_CREAT+O_TRUNC, 0666);
if(file == -1) {
- BKE_reportf(reports, RPT_ERROR, "Can't open file for writing: %s.", strerror(errno));
+ BKE_reportf(reports, RPT_ERROR, "Can't open file %s for writing: %s.", tempname, strerror(errno));
return 0;
}