Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 276338 | Differences between
and this patch

Collapse All | Expand All

(-)blender/source/blender/blenkernel/intern/blender.c (-1 / +1 lines)
Lines 716-722 void BKE_undo_save_quit(void) Link Here
716
		
716
		
717
	BLI_make_file_string("/", str, btempdir, "quit.blend");
717
	BLI_make_file_string("/", str, btempdir, "quit.blend");
718
718
719
	file = open(str,O_BINARY+O_WRONLY+O_CREAT+O_TRUNC, 0666);
719
	file = open(str,O_BINARY+O_WRONLY+O_CREAT+O_TRUNC+O_EXCL, 0666);
720
	if(file == -1) {
720
	if(file == -1) {
721
		error("Unable to save %s, check you have permissions", str);
721
		error("Unable to save %s, check you have permissions", str);
722
		return;
722
		return;

Return to bug 276338