diff --git a/mod_form.c.preserve_args.patch b/mod_form.c.preserve_args.patch deleted file mode 100644 index 7b49db1..0000000 --- a/mod_form.c.preserve_args.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- mod_form.c 2007-03-13 15:05:13.872945000 +0100 -+++ mod_form.c 2007-03-13 15:06:26.378367000 +0100 -@@ -61,6 +61,7 @@ - char* pair ; - char* last = NULL ; - char* eq ; -+ char* a ; - if ( ! ctx ) { - ctx = apr_pcalloc(r->pool, sizeof(form_ctx)) ; - ctx->delim = delim[0]; -@@ -69,7 +70,8 @@ - if ( ! ctx->vars ) { - ctx->vars = apr_table_make(r->pool, 10) ; - } -- for ( pair = apr_strtok(args, delim, &last) ; pair ; -+ a = apr_pstrdup(r->pool, args); -+ for ( pair = apr_strtok(a, delim, &last) ; pair ; - pair = apr_strtok(NULL, delim, &last) ) { - for (eq = pair ; *eq ; ++eq) - if ( *eq == '+' ) diff --git a/mod_form.spec b/mod_form.spec index 05e98e2..0611e05 100644 --- a/mod_form.spec +++ b/mod_form.spec @@ -24,7 +24,6 @@ License: GPLv2+ Group: Applications/Internet Summary: Apache module that decodes data submitted from Web forms Source0: mod_form-%{version}-%{release}.tar.gz -Patch0: mod_form.c.preserve_args.patch BuildRequires: httpd-devel Requires: httpd URL: http://apache.webthing.com/mod_form @@ -52,7 +51,6 @@ Development package. %prep %setup -q -n mod_form-%{version} -%patch0 %build %{apxs} -c mod_form.c