--- blender/source/blender/blenkernel/intern/blender.c 2008-05-07 17:37:52.000000000 +0200 +++ blender/source/blender/blenkernel/intern/blender.c 2008-05-07 17:38:22.000000000 +0200 @@ -716,7 +716,7 @@ void BKE_undo_save_quit(void) BLI_make_file_string("/", str, btempdir, "quit.blend"); - file = open(str,O_BINARY+O_WRONLY+O_CREAT+O_TRUNC, 0666); + file = open(str,O_BINARY+O_WRONLY+O_CREAT+O_TRUNC+O_EXCL, 0666); if(file == -1) { error("Unable to save %s, check you have permissions", str); return;