You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Joe Orton <jo...@orton.demon.co.uk> on 2000/08/05 12:42:55 UTC
[PATCH] mod_dav: fix compile warnings
Updated patch to fix compile warnings from not including apr_strings.h
Index: fs/dbm.c
===================================================================
RCS file: /home/joe/lib/cvsroot/apache2/src/modules/dav/fs/dbm.c,v
retrieving revision 1.7
diff -u -p -r1.7 dbm.c
--- dbm.c 2000/08/02 05:26:55 1.7
+++ dbm.c 2000/08/05 10:35:32
@@ -67,6 +67,7 @@
** DAV_FS_STATE_FILE_FOR_DIR (.state_for_dir) for the directory itself.
*/
+#include "apr_strings.h"
#include "sdbm.h"
#include "mod_dav.h"
Index: fs/lock.c
===================================================================
RCS file: /home/joe/lib/cvsroot/apache2/src/modules/dav/fs/lock.c,v
retrieving revision 1.7
diff -u -p -r1.7 lock.c
--- lock.c 2000/08/02 05:26:55 1.7
+++ lock.c 2000/08/05 10:35:43
@@ -59,6 +59,7 @@
#include "httpd.h"
#include "http_log.h"
#include "apr_file_io.h"
+#include "apr_strings.h"
#include "mod_dav.h"
#include "dav_opaquelock.h"
Index: fs/repos.c
===================================================================
RCS file: /home/joe/lib/cvsroot/apache2/src/modules/dav/fs/repos.c,v
retrieving revision 1.16
diff -u -p -r1.16 repos.c
--- repos.c 2000/08/02 05:26:57 1.16
+++ repos.c 2000/08/05 10:36:21
@@ -56,9 +56,8 @@
** DAV filesystem-based repository provider
*/
-#include <string.h>
-
#include "apr_file_io.h"
+#include "apr_strings.h"
#include "httpd.h"
#include "http_log.h"
Index: main/liveprop.c
===================================================================
RCS file: /home/joe/lib/cvsroot/apache2/src/modules/dav/main/liveprop.c,v
retrieving revision 1.2
diff -u -p -r1.2 liveprop.c
--- liveprop.c 2000/08/02 05:26:59 1.2
+++ liveprop.c 2000/08/05 10:38:34
@@ -55,6 +55,7 @@
#include "apr_pools.h"
#include "apr_hash.h"
#include "apr_errno.h"
+#include "apr_strings.h"
#include "ap_hooks.h" /* ### for ap_global_hook_pool */
#include "util_xml.h" /* for ap_text_header */
Index: main/mod_dav.c
===================================================================
RCS file: /home/joe/lib/cvsroot/apache2/src/modules/dav/main/mod_dav.c,v
retrieving revision 1.15
diff -u -p -r1.15 mod_dav.c
--- mod_dav.c 2000/08/02 05:26:59 1.15
+++ mod_dav.c 2000/08/05 10:37:20
@@ -88,6 +88,7 @@
#include "http_protocol.h"
#include "http_request.h"
#include "util_script.h"
+#include "apr_strings.h"
#include "mod_dav.h"
Index: main/opaquelock.c
===================================================================
RCS file: /home/joe/lib/cvsroot/apache2/src/modules/dav/main/opaquelock.c,v
retrieving revision 1.5
diff -u -p -r1.5 opaquelock.c
--- opaquelock.c 2000/08/02 05:26:59 1.5
+++ opaquelock.c 2000/08/05 10:38:17
@@ -88,6 +88,7 @@
#include "httpd.h"
#include "apr_md5.h"
#include "apr_lib.h"
+#include "apr_strings.h"
#include "mod_dav.h"
#include "dav_opaquelock.h"
Index: main/props.c
===================================================================
RCS file: /home/joe/lib/cvsroot/apache2/src/modules/dav/main/props.c,v
retrieving revision 1.12
diff -u -p -r1.12 props.c
--- props.c 2000/08/02 05:26:59 1.12
+++ props.c 2000/08/05 10:39:22
@@ -182,6 +182,7 @@
#include "http_log.h"
#include "http_request.h"
+#include "apr_strings.h"
/*
** There is some rough support for writeable DAV:getcontenttype and
Index: main/util.c
===================================================================
RCS file: /home/joe/lib/cvsroot/apache2/src/modules/dav/main/util.c,v
retrieving revision 1.7
diff -u -p -r1.7 util.c
--- util.c 2000/08/02 05:26:59 1.7
+++ util.c 2000/08/05 10:37:30
@@ -65,6 +65,7 @@
#include "http_log.h"
#include "http_protocol.h"
+#include "apr_strings.h"
dav_error *dav_new_error(apr_pool_t *p, int status, int error_id, const char *desc)
{
Index: main/util_lock.c
===================================================================
RCS file: /home/joe/lib/cvsroot/apache2/src/modules/dav/main/util_lock.c,v
retrieving revision 1.6
diff -u -p -r1.6 util_lock.c
--- util_lock.c 2000/08/02 05:26:59 1.6
+++ util_lock.c 2000/08/05 10:37:42
@@ -61,6 +61,7 @@
#include "http_config.h"
#include "http_protocol.h"
#include "http_core.h"
+#include "apr_strings.h"
#include "memory.h"