File libxml-open.diff of Package libxml

--- nanohttp.c.orig	2008-01-12 11:00:25.000000000 +0100
+++ ./nanohttp.c	2008-01-12 11:01:07.000000000 +0100
@@ -1182,7 +1182,7 @@ xmlNanoHTTPSave(void *ctxt, const char *
     if (!strcmp(filename, "-")) 
         fd = 0;
     else {
-        fd = open(filename, O_CREAT | O_WRONLY);
+        fd = open(filename, O_CREAT | O_WRONLY, 0600);
 	if (fd < 0) {
 	    xmlNanoHTTPClose(ctxt);
 	    return(-1);
openSUSE Build Service is sponsored by