From 6db52799e058528ca6010a58c022f03d25bd44e1 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Fri, 11 Jan 2008 09:36:13 +0000 Subject: [PATCH] Old patch was getting in the way, Daniel --- creat.patch | 19 ------------------- libxml2.spec | 2 -- 2 files changed, 21 deletions(-) delete mode 100644 creat.patch diff --git a/creat.patch b/creat.patch deleted file mode 100644 index b41ef30..0000000 --- a/creat.patch +++ /dev/null @@ -1,19 +0,0 @@ -*** nanohttp.c.orig 2007-08-23 22:28:31.000000000 +0200 ---- nanohttp.c 2007-08-23 22:28:51.000000000 +0200 -*************** xmlNanoHTTPSave(void *ctxt, const char * -*** 1585,1591 **** - if (!strcmp(filename, "-")) - fd = 0; - else { -! fd = open(filename, O_CREAT | O_WRONLY); - if (fd < 0) { - xmlNanoHTTPClose(ctxt); - return(-1); ---- 1585,1591 ---- - if (!strcmp(filename, "-")) - fd = 0; - else { -! fd = open(filename, O_CREAT | O_WRONLY, 0666); - if (fd < 0) { - xmlNanoHTTPClose(ctxt); - return(-1); diff --git a/libxml2.spec b/libxml2.spec index 306f208..22f8d4f 100644 --- a/libxml2.spec +++ b/libxml2.spec @@ -11,7 +11,6 @@ URL: http://xmlsoft.org/ Prefix: %{_prefix} Docdir: %{_docdir} Patch0: multilib.patch -Patch1: creat.patch %description This library allows to manipulate XML files. It includes support @@ -61,7 +60,6 @@ at parse time or later once the document has been modified. %prep %setup -q %patch0 -p1 -%patch1 -p0 %build %configure