Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > contrib-release-src > by-pkgid > beb2b9bb3d5097be7c0ed0838aeeb227 > files > 2

mtf-0.2.1-9mdv2009.0.src.rpm

--- mtfutil.c	2000-09-13 17:06:02.000000000 +0200
+++ mtfutil.c.oden	2008-07-20 16:09:00.000000000 +0200
@@ -128,7 +128,7 @@
 {
 	int handle;
 
-	handle = open(name, O_WRONLY | O_TRUNC | O_CREAT);
+	handle = open(name, O_WRONLY | O_TRUNC | O_CREAT, 0666);
 	if (handle != -1)
 	{
 		write(handle, tBuffer, remaining);