Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > fe6d9b0c3abeaa94b1856e7f4fc69958 > files > 3

katoob-0.5.9.1-4mdv2010.1.src.rpm

Index: katoob-0.5.9.1/src/utils.cc
===================================================================
--- katoob-0.5.9.1.orig/src/utils.cc
+++ katoob-0.5.9.1/src/utils.cc
@@ -270,7 +270,7 @@
     return false;
   }
 
-  ofd = open(f2, O_WRONLY|O_CREAT|O_TRUNC);
+  ofd = open(f2, O_WRONLY|O_CREAT|O_TRUNC, 0644);
   if (ofd == -1) {
     error = std::strerror(errno);
     close(ifd);