libxml2: Convert to BBCLASSEXTEND (and drop unneeded custom staging function

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2009-11-05 17:37:52 +00:00
parent b9cac51c38
commit 7541841b56
5 changed files with 19 additions and 37 deletions

View File

@@ -0,0 +1,13 @@
Index: libxml2-2.6.29/nanohttp.c
===================================================================
--- libxml2-2.6.29.orig/nanohttp.c 2008-10-30 10:12:11.000000000 +0800
+++ libxml2-2.6.29/nanohttp.c 2008-10-30 10:12:30.000000000 +0800
@@ -1585,7 +1585,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);