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/07/24 02:53:28 UTC

[PATCH] mod_dav: include apr_strings.h everywhere

Fixes the warnings due to ap_pstrdup etc moving.

Index: fs/dbm.c
===================================================================
RCS file: /home/joe/lib/cvsroot/apache2/src/modules/dav/fs/dbm.c,v
retrieving revision 1.6
diff -u -p -r1.6 dbm.c
--- dbm.c	2000/07/13 11:02:37	1.6
+++ dbm.c	2000/07/24 00:49:21
@@ -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.6
diff -u -p -r1.6 lock.c
--- lock.c	2000/07/07 02:22:17	1.6
+++ lock.c	2000/07/24 00:48:29
@@ -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.15
diff -u -p -r1.15 repos.c
--- repos.c	2000/07/15 02:07:21	1.15
+++ repos.c	2000/07/24 00:48:41
@@ -59,6 +59,7 @@
 #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.1
diff -u -p -r1.1 liveprop.c
--- liveprop.c	2000/07/10 03:18:13	1.1
+++ liveprop.c	2000/07/24 00:46:45
@@ -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.14
diff -u -p -r1.14 mod_dav.c
--- mod_dav.c	2000/07/17 05:17:02	1.14
+++ mod_dav.c	2000/07/24 00:43:57
@@ -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.3
diff -u -p -r1.3 opaquelock.c
--- opaquelock.c	2000/06/28 11:23:53	1.3
+++ opaquelock.c	2000/07/24 00:46:31
@@ -88,6 +88,7 @@
 #include "httpd.h"
 #include "apr_md5.h"
 #include "ap_ctype.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.11
diff -u -p -r1.11 props.c
--- props.c	2000/07/10 07:49:48	1.11
+++ props.c	2000/07/24 00:45:19
@@ -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.5
diff -u -p -r1.5 util.c
--- util.c	2000/07/03 22:51:01	1.5
+++ util.c	2000/07/24 00:45:36
@@ -64,7 +64,7 @@
 #include "http_vhost.h"
 #include "http_log.h"
 #include "http_protocol.h"
-
+#include "apr_strings.h"
 
 dav_error *dav_new_error(ap_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.5
diff -u -p -r1.5 util_lock.c
--- util_lock.c	2000/07/07 10:38:23	1.5
+++ util_lock.c	2000/07/24 00:48:17
@@ -62,6 +62,7 @@
 #include "http_protocol.h"
 #include "http_core.h"
 #include "memory.h"
+#include "apr_strings.h"
 
 
 /* ---------------------------------------------------------------