[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: mod_svn 1.7.3 fails to build apache 2.4.1

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Sun, 11 Mar 2012 13:06:42 +0200

There are outstanding backport nominations in 1.7.x/STATUS, is your
patch needed even after merging them?

And on another note -- does the test suite pass? I've seen odd
behaviour with the tests last week and haven't had time to investigate
yet. (Either neon/bdb or serf/bdb.)

Mario Brandt wrote on Sun, Mar 11, 2012 at 01:14:01 +0100:
> In 1.7.x branch[1] svn fails to compile against apache 2.4. In trunk
> it is already fixed.
>
>
> Cheers
> Mario
>
>
> [1] http://svn.apache.org/repos/asf/subversion/branches/1.7.x/subversion/mod_dav_svn/

> Index: util.c
> ===================================================================
> --- util.c (revision 1299310)
> +++ util.c (working copy)
> @@ -627,8 +627,14 @@
> if (errscan->desc == NULL)
> continue;
>
> - if (errscan->save_errno != 0) {
> +#if AP_MODULE_MAGIC_AT_LEAST(20091119,0)
> + if (errscan->aprerr != 0) {
> + errno = errscan->aprerr;
> +#else
> + if (errscan->save_errno != 0) {
> errno = errscan->save_errno;
> +#endif
> +
> ap_log_rerror(APLOG_MARK, level, errno, r, "%s [%d, #%d]",
> errscan->desc, errscan->status, errscan->error_id);
> }
Received on 2012-03-11 12:07:28 CET

This is an archived mail posted to the Subversion Dev mailing list.