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

RE: Compiling problems with ra_dav on Win32

From: Bill Tutt <billtut_at_microsoft.com>
Date: 2001-08-15 22:09:20 CEST

Here's the patch that I came up with:

Index: session.c
===================================================================
RCS file:
/usr/local/tigris/data/helm/cvs/repository/subversion/subversion/libsvn_
ra_dav/session.c,v
retrieving revision 1.34
diff -u -r1.34 session.c
--- session.c 2001/08/10 21:00:10 1.34
+++ session.c 2001/08/15 20:08:25
@@ -17,6 +17,7 @@
 #include <apr_pools.h>
 #define APR_WANT_STRFUNC
 #include <apr_want.h>
+#include <apr_general.h>
 
 #include <ne_socket.h>
 #include <ne_request.h>
Index: commit.c
===================================================================
RCS file:
/usr/local/tigris/data/helm/cvs/repository/subversion/subversion/libsvn_
ra_dav/commit.c,v
retrieving revision 1.65
diff -u -r1.65 commit.c
--- commit.c 2001/08/14 03:44:10 1.65
+++ commit.c 2001/08/15 20:08:25
@@ -357,8 +357,12 @@
                       "</D:activity-set></D:checkout>",
cc->activity_url);
   ne_set_request_body_buffer(req, body, strlen(body));
 
+ /*
+ * We have different const qualifiers here. locn is const char *,
+ * but the prototype is void * (as opposed to const void *).
+ */
   ne_add_response_header_handler(req, "location",
- ne_duplicate_header, &locn);
+ ne_duplicate_header, (void *)&locn);
 
   /* run the request and get the resulting status code. */
   rv = ne_request_dispatch(req);

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:36 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.