Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > ab57cea8773160edf38ea0938c16cbf8 > files > 6

libxml-1.8.17-27.fc15.src.rpm

--- libxml-1.8.17/nanohttp.c	2000-06-28 19:33:46.000000000 +0100
+++ libxml-1.8.17/nanohttp.c	2007-08-17 13:26:11.000000000 +0100
@@ -1182,7 +1182,7 @@
     if (!strcmp(filename, "-")) 
         fd = 0;
     else {
-        fd = open(filename, O_CREAT | O_WRONLY);
+        fd = open(filename, O_CREAT | O_WRONLY, 0644);
 	if (fd < 0) {
 	    xmlNanoHTTPClose(ctxt);
 	    return(-1);