Commit cd2ebab7 authored by Daniel Veillard's avatar Daniel Veillard

fix an open() call with creation without 3rd argument hopefully that

* nanohttp.c: fix an open() call with creation without 3rd argument
  hopefully that interface is never used.
Daniel

svn path=/trunk/; revision=3656
parent c1b3fe05
Thu Aug 23 22:48:20 CEST 2007 Daniel Veillard <daniel@veillard.com>
* nanohttp.c: fix an open() call with creation without 3rd argument
hopefully that interface is never used.
Thu Aug 23 17:00:49 CEST 2007 Daniel Veillard <daniel@veillard.com>
* configure.in doc/*: preparing release of 2.6.30
......
......@@ -15,6 +15,19 @@ ChangeLog.html
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
......
......@@ -1585,7 +1585,7 @@ xmlNanoHTTPSave(void *ctxt, const char *filename) {
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment