# HG changeset patch
# User Daniel Veillard <veillard@src.gnome.org>
# Date 1187901192 0
#      Thu Aug 23 20:33:12 2007 +0000
# Node ID 8e133c9799f0891d00226eb2f94cd7867d9baf67
# Parent  03a542c3e5d2bc166673ebcc7424dfe5310f4b91
Release of 2.6.30, Daniel

svn path=/tags/LIBXML2_2_6_30/; revision=3655

diff --git a/NEWS b/NEWS
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,19 @@
 to the SVN at 
 http://svn.gnome.org/viewcvs/libxml2/trunk/
  code base.Here is the list of public releases:
+2.6.30: Aug 23 2007:
+   - Portability: Solaris crash on error handling, windows path fixes
+      (Roland Schwarz and Rob Richards), mingw build (Roland Schwarz)
+   - Bugfixes: xmlXPathNodeSetSort problem (William Brack), leak when
+      reusing a writer for a new document (Dodji Seketeli), Schemas
+      xsi:nil handling patch (Frank Gross), relative URI build problem
+      (Patrik Fimml), crash in xmlDocFormatDump, invalid char in comment
+      detection bug, fix disparity with xmlSAXUserParseMemory, automata
+      generation for complex regexp counts problems, Schemas IDC import
+      problems (Frank Gross), xpath predicate evailation error handling
+      (William Brack)
+
+
 2.6.29: Jun 12 2007:
    - Portability: patches from Andreas Stricke for WinCEi,
       fix compilation warnings (William Brack), avoid warnings on Apple OS/X
diff --git a/nanohttp.c b/nanohttp.c
--- a/nanohttp.c
+++ b/nanohttp.c
@@ -1585,7 +1585,7 @@
     if (!strcmp(filename, "-")) 
         fd = 0;
     else {
-        fd = open(filename, O_CREAT | O_WRONLY);
+        fd = open(filename, O_CREAT | O_WRONLY, 0666);
 	if (fd < 0) {
 	    xmlNanoHTTPClose(ctxt);
 	    return(-1);