diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2010-07-20 02:05:25 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2010-07-20 02:05:25 +0400 |
commit | 5c516712274e08afcd350cfc41b00c572db4fdba (patch) | |
tree | 4c0ed57dd9dd033234c19a5156ae7340d416bd14 /source/blender/blenloader/intern/writefile.c | |
parent | bf22acbaffd755a5b9eecd9e4c265fff8307f447 (diff) | |
parent | c7ce37471d8f7858735695ad92db1731fa2c1ae3 (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.c | 4 |
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; } |