SOURCES: lighttpd-branch.diff - up to r2417

glen glen at pld-linux.org
Mon Mar 9 00:09:33 CET 2009


Author: glen                         Date: Sun Mar  8 23:09:33 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- up to r2417

---- Files affected:
SOURCES:
   lighttpd-branch.diff (1.47 -> 1.48) 

---- Diffs:

================================================================
Index: SOURCES/lighttpd-branch.diff
diff -u SOURCES/lighttpd-branch.diff:1.47 SOURCES/lighttpd-branch.diff:1.48
--- SOURCES/lighttpd-branch.diff:1.47	Wed Feb 18 01:29:56 2009
+++ SOURCES/lighttpd-branch.diff	Mon Mar  9 00:09:27 2009
@@ -1,72 +1,1224 @@
 Index: configure.in
 ===================================================================
+Index: src/configfile-glue.c
+===================================================================
+--- src/configfile-glue.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/configfile-glue.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -181,7 +181,7 @@
+ 	return config_insert_values_internal(srv, ca, cv);
+ }
+ 
+-unsigned short sock_addr_get_port(sock_addr *addr) {
++static unsigned short sock_addr_get_port(sock_addr *addr) {
+ #ifdef HAVE_IPV6
+ 	return ntohs(addr->plain.sa_family ? addr->ipv6.sin6_port : addr->ipv4.sin_port);
+ #else
+Index: src/mod_cgi.c
+===================================================================
+--- src/mod_cgi.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_cgi.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -1369,6 +1369,7 @@
+ }
+ 
+ 
++int mod_cgi_plugin_init(plugin *p);
+ int mod_cgi_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        = buffer_init_string("cgi");
+Index: src/mod_cml.c
+===================================================================
+--- src/mod_cml.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_cml.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -178,7 +178,7 @@
+ }
+ #undef PATCH
+ 
+-int cache_call_lua(server *srv, connection *con, plugin_data *p, buffer *cml_file) {
++static int cache_call_lua(server *srv, connection *con, plugin_data *p, buffer *cml_file) {
+ 	buffer *b;
+ 	char *c;
+ 
+@@ -305,6 +305,7 @@
+ 	}
+ }
+ 
++int mod_cml_plugin_init(plugin *p);
+ int mod_cml_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        = buffer_init_string("cache");
+Index: src/mod_secure_download.c
+===================================================================
+--- src/mod_secure_download.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_secure_download.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -138,7 +138,7 @@
+  * @return if the supplied string is a valid MD5 string 1 is returned otherwise 0
+  */
+ 
+-int is_hex_len(const char *str, size_t len) {
++static int is_hex_len(const char *str, size_t len) {
+ 	size_t i;
+ 
+ 	if (NULL == str) return 0;
+@@ -293,6 +293,7 @@
+ 
+ /* this function is called at dlopen() time and inits the callbacks */
+ 
++int mod_secdownload_plugin_init(plugin *p);
+ int mod_secdownload_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        = buffer_init_string("secdownload");
+Index: src/mod_rewrite.c
+===================================================================
+--- src/mod_rewrite.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_rewrite.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -63,7 +63,7 @@
+ 	free(hctx);
+ }
+ 
+-rewrite_rule_buffer *rewrite_rule_buffer_init(void) {
++static rewrite_rule_buffer *rewrite_rule_buffer_init(void) {
+ 	rewrite_rule_buffer *kvb;
+ 
+ 	kvb = calloc(1, sizeof(*kvb));
+@@ -71,7 +71,7 @@
+ 	return kvb;
+ }
+ 
+-int rewrite_rule_buffer_append(rewrite_rule_buffer *kvb, buffer *key, buffer *value, int once) {
++static int rewrite_rule_buffer_append(rewrite_rule_buffer *kvb, buffer *key, buffer *value, int once) {
+ #ifdef HAVE_PCRE_H
+ 	size_t i;
+ 	const char *errptr;
+@@ -121,7 +121,7 @@
+ #endif
+ }
+ 
+-void rewrite_rule_buffer_free(rewrite_rule_buffer *kvb) {
++static void rewrite_rule_buffer_free(rewrite_rule_buffer *kvb) {
+ #ifdef HAVE_PCRE_H
+ 	size_t i;
+ 
+@@ -444,6 +444,7 @@
+ 	return HANDLER_GO_ON;
+ }
+ 
++int mod_rewrite_plugin_init(plugin *p);
+ int mod_rewrite_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        = buffer_init_string("rewrite");
+Index: src/connections.c
+===================================================================
+--- src/connections.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/connections.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -858,7 +858,7 @@
+  *
+  * we get called by the state-engine and by the fdevent-handler
+  */
+-int connection_handle_read_state(server *srv, connection *con)  {
++static int connection_handle_read_state(server *srv, connection *con)  {
+ 	connection_state_t ostate = con->state;
+ 	chunk *c, *last_chunk;
+ 	off_t last_offset;
+@@ -1156,7 +1156,7 @@
+ 	return 0;
+ }
+ 
+-handler_t connection_handle_fdevent(void *s, void *context, int revents) {
++static handler_t connection_handle_fdevent(void *s, void *context, int revents) {
+ 	server     *srv = (server *)s;
+ 	connection *con = context;
+ 
+Index: src/mod_staticfile.c
+===================================================================
+--- src/mod_staticfile.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_staticfile.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -532,6 +532,7 @@
+ 
+ /* this function is called at dlopen() time and inits the callbacks */
+ 
++int mod_staticfile_plugin_init(plugin *p);
+ int mod_staticfile_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        = buffer_init_string("staticfile");
+Index: src/mod_alias.c
+===================================================================
+--- src/mod_alias.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_alias.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -187,6 +187,7 @@
+ 
+ /* this function is called at dlopen() time and inits the callbacks */
+ 
++int mod_alias_plugin_init(plugin *p);
+ int mod_alias_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        = buffer_init_string("alias");
+Index: src/network.c
+===================================================================
+--- src/network.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/network.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -26,7 +26,7 @@
+ # include <openssl/rand.h>
+ #endif
+ 
+-handler_t network_server_handle_fdevent(void *s, void *context, int revents) {
++static handler_t network_server_handle_fdevent(void *s, void *context, int revents) {
+ 	server     *srv = (server *)s;
+ 	server_socket *srv_socket = (server_socket *)context;
+ 	connection *con;
+@@ -62,7 +62,7 @@
+ 	return HANDLER_GO_ON;
+ }
+ 
+-int network_server_init(server *srv, buffer *host_token, specific_config *s) {
++static int network_server_init(server *srv, buffer *host_token, specific_config *s) {
+ 	int val;
+ 	socklen_t addr_len;
+ 	server_socket *srv_socket;
+Index: src/mod_trigger_b4_dl.c
+===================================================================
+--- src/mod_trigger_b4_dl.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_trigger_b4_dl.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -576,6 +576,7 @@
+ 
+ /* this function is called at dlopen() time and inits the callbacks */
+ 
++int mod_trigger_b4_dl_plugin_init(plugin *p);
+ int mod_trigger_b4_dl_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        = buffer_init_string("trigger_b4_dl");
+Index: src/mod_evhost.c
+===================================================================
+--- src/mod_evhost.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_evhost.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -318,6 +318,7 @@
+ 	return HANDLER_GO_ON;
+ }
+ 
++int mod_evhost_plugin_init(plugin *p);
+ int mod_evhost_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name                    = buffer_init_string("evhost");
+Index: src/splaytree.c
+===================================================================
+--- src/splaytree.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/splaytree.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -187,7 +187,8 @@
+     }
+ }
+ 
+-splay_tree *find_rank(int r, splay_tree *t) {
++#if 0
++static splay_tree *find_rank(int r, splay_tree *t) {
+ /* Returns a pointer to the node in the tree with the given rank.  */
+ /* Returns NULL if there is no such node.                          */
+ /* Does not change the tree.  To guarantee logarithmic behavior,   */
+@@ -206,5 +207,4 @@
+ 	}
+     }
+ }
+-
+-
++#endif
+Index: src/mod_scgi.c
+===================================================================
+--- src/mod_scgi.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_scgi.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -372,7 +372,7 @@
+ 	free(hctx);
+ }
+ 
+-scgi_proc *scgi_process_init() {
++static scgi_proc *scgi_process_init() {
+ 	scgi_proc *f;
+ 
+ 	f = calloc(1, sizeof(*f));
+@@ -384,7 +384,7 @@
+ 	return f;
+ }
+ 
+-void scgi_process_free(scgi_proc *f) {
++static void scgi_process_free(scgi_proc *f) {
+ 	if (!f) return;
+ 
+ 	scgi_process_free(f->next);
+@@ -394,7 +394,7 @@
+ 	free(f);
+ }
+ 
+-scgi_extension_host *scgi_host_init() {
++static scgi_extension_host *scgi_host_init() {
+ 	scgi_extension_host *f;
+ 
+ 	f = calloc(1, sizeof(*f));
+@@ -409,7 +409,7 @@
+ 	return f;
+ }
+ 
+-void scgi_host_free(scgi_extension_host *h) {
++static void scgi_host_free(scgi_extension_host *h) {
+ 	if (!h) return;
+ 
+ 	buffer_free(h->host);
+@@ -426,7 +426,7 @@
+ 
+ }
+ 
+-scgi_exts *scgi_extensions_init() {
++static scgi_exts *scgi_extensions_init() {
+ 	scgi_exts *f;
+ 
+ 	f = calloc(1, sizeof(*f));
+@@ -434,7 +434,7 @@
+ 	return f;
+ }
+ 
+-void scgi_extensions_free(scgi_exts *f) {
++static void scgi_extensions_free(scgi_exts *f) {
+ 	size_t i;
+ 
+ 	if (!f) return;
+@@ -464,7 +464,7 @@
+ 	free(f);
+ }
+ 
+-int scgi_extension_insert(scgi_exts *ext, buffer *key, scgi_extension_host *fh) {
++static int scgi_extension_insert(scgi_exts *ext, buffer *key, scgi_extension_host *fh) {
+ 	scgi_extension *fe;
+ 	size_t i;
+ 
+@@ -1178,7 +1178,7 @@
+ }
+ 
+ 
+-void scgi_connection_cleanup(server *srv, handler_ctx *hctx) {
++static void scgi_connection_cleanup(server *srv, handler_ctx *hctx) {
+ 	plugin_data *p;
+ 	connection  *con;
+ 
+@@ -1915,7 +1915,7 @@
+ }
+ 
+ 
+-int scgi_proclist_sort_up(server *srv, scgi_extension_host *host, scgi_proc *proc) {
++static int scgi_proclist_sort_up(server *srv, scgi_extension_host *host, scgi_proc *proc) {
+ 	scgi_proc *p;
+ 
+ 	UNUSED(srv);
+@@ -3105,6 +3105,7 @@
+ }
+ 
+ 
++int mod_scgi_plugin_init(plugin *p);
+ int mod_scgi_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name         = buffer_init_string("scgi");
+Index: src/mod_mysql_vhost.c
+===================================================================
+--- src/mod_mysql_vhost.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_mysql_vhost.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -422,6 +422,7 @@
+ }
+ 
+ /* this function is called at dlopen() time and inits the callbacks */
++int mod_mysql_vhost_plugin_init(plugin *p);
+ int mod_mysql_vhost_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        			= buffer_init_string("mysql_vhost");
+@@ -437,6 +438,7 @@
+ }
+ #else
+ /* we don't have mysql support, this plugin does nothing */
++int mod_mysql_vhost_plugin_init(plugin *p);
+ int mod_mysql_vhost_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        			= buffer_init_string("mysql_vhost");
+Index: src/request.c
+===================================================================
+--- src/request.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/request.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -200,7 +200,7 @@
+ #define DUMP_HEADER
+ #endif
+ 
+-int http_request_split_value(array *vals, buffer *b) {
++static int http_request_split_value(array *vals, buffer *b) {
+ 	char *s;
+ 	size_t i;
+ 	int state = 0;
+@@ -262,7 +262,7 @@
+ 	return 0;
+ }
+ 
+-int request_uri_is_valid_char(unsigned char c) {
++static int request_uri_is_valid_char(unsigned char c) {
+ 	if (c <= 32) return 0;
+ 	if (c == 127) return 0;
+ 	if (c == 255) return 0;
+Index: src/mod_magnet_cache.c
+===================================================================
+--- src/mod_magnet_cache.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_magnet_cache.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -9,7 +9,7 @@
+ #include <lualib.h>
+ #include <lauxlib.h>
+ 
+-script *script_init() {
++static script *script_init() {
+ 	script *sc;
+ 
+ 	sc = calloc(1, sizeof(*sc));
+@@ -19,7 +19,7 @@
+ 	return sc;
+ }
+ 
+-void script_free(script *sc) {
++static void script_free(script *sc) {
+ 	if (!sc) return;
+ 
+ 	lua_pop(sc->L, 1); /* the function copy */
+Index: src/mod_flv_streaming.c
+===================================================================
+--- src/mod_flv_streaming.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_flv_streaming.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -265,6 +265,7 @@
+ 
+ /* this function is called at dlopen() time and inits the callbacks */
+ 
++int mod_flv_streaming_plugin_init(plugin *p);
+ int mod_flv_streaming_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        = buffer_init_string("flv_streaming");
+Index: src/mod_rrdtool.c
+===================================================================
+--- src/mod_rrdtool.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_rrdtool.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -91,7 +91,7 @@
+ 	return HANDLER_GO_ON;
+ }
+ 
+-int mod_rrd_create_pipe(server *srv, plugin_data *p) {
++static int mod_rrd_create_pipe(server *srv, plugin_data *p) {
+ #ifdef HAVE_FORK
+ 	pid_t pid;
+ 
+@@ -477,6 +477,7 @@
+ 	return HANDLER_GO_ON;
+ }
+ 
++int mod_rrdtool_plugin_init(plugin *p);
+ int mod_rrdtool_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        = buffer_init_string("rrd");
+Index: src/mod_cml_funcs.c
+===================================================================
+--- src/mod_cml_funcs.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_cml_funcs.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -93,7 +93,7 @@
+ 	return 1;
+ }
+ 
+-int f_dir_files_iter(lua_State *L) {
++static int f_dir_files_iter(lua_State *L) {
+ 	DIR *d;
+ 	struct dirent *de;
+ 
+@@ -211,7 +211,7 @@
+ 	}
+ 
+ 	if (NULL == (r = mc_aget(mc,
+-				 lua_tostring(L, 1), lua_strlen(L, 1)))) {
++				 (char*) lua_tostring(L, 1), lua_strlen(L, 1)))) {
+ 
+ 		lua_pushboolean(L, 0);
+ 		return 1;
+@@ -248,7 +248,7 @@
+ 	}
+ 
+ 	if (NULL == (r = mc_aget(mc,
+-				 lua_tostring(L, 1), lua_strlen(L, 1)))) {
++				 (char*) lua_tostring(L, 1), lua_strlen(L, 1)))) {
+ 		lua_pushnil(L);
+ 		return 1;
+ 	}
+@@ -285,7 +285,7 @@
+ 	}
+ 
+ 	if (NULL == (r = mc_aget(mc,
+-				 lua_tostring(L, 1), lua_strlen(L, 1)))) {
++				 (char*) lua_tostring(L, 1), lua_strlen(L, 1)))) {
+ 		lua_pushnil(L);
+ 		return 1;
+ 	}
 Index: src/mod_simple_vhost.c
 ===================================================================
---- src/mod_simple_vhost.c	(.../tags/lighttpd-1.4.21)	(revision 2399)
-+++ src/mod_simple_vhost.c	(.../branches/lighttpd-1.4.x)	(revision 2399)
-@@ -249,6 +249,8 @@
- 				return HANDLER_GO_ON;
- 			} else {
- 				buffer_copy_string_buffer(con->server_name, p->conf.default_host);
-+				buffer_copy_string_buffer(con->physical.doc_root, p->doc_root);
-+
- 				/* do not cache default host */
- 				return HANDLER_GO_ON;
- 			}
+--- src/mod_simple_vhost.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_simple_vhost.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -270,6 +270,7 @@
+ }
+ 
+ 
++int mod_simple_vhost_plugin_init(plugin *p);
+ int mod_simple_vhost_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        = buffer_init_string("simple_vhost");
+Index: src/mod_userdir.c
+===================================================================
+--- src/mod_userdir.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_userdir.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -314,6 +314,7 @@
+ 
+ /* this function is called at dlopen() time and inits the callbacks */
+ 
++int mod_userdir_plugin_init(plugin *p);
+ int mod_userdir_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        = buffer_init_string("userdir");
+Index: src/mod_proxy.c
+===================================================================
+--- src/mod_proxy.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_proxy.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -332,7 +332,7 @@
+ 	return HANDLER_GO_ON;
+ }
+ 
+-void proxy_connection_close(server *srv, handler_ctx *hctx) {
++static void proxy_connection_close(server *srv, handler_ctx *hctx) {
+ 	plugin_data *p;
+ 	connection *con;
+ 
+@@ -395,7 +395,7 @@
+ 	return 0;
+ }
+ 
+-void proxy_set_header(connection *con, const char *key, const char *value) {
++static void proxy_set_header(connection *con, const char *key, const char *value) {
+     data_string *ds_dst;
+ 
+     if (NULL == (ds_dst = (data_string *)array_get_unused_element(con->request.headers, TYPE_STRING))) {
+@@ -407,7 +407,7 @@
+     array_insert_unique(con->request.headers, (data_unset *)ds_dst);
+ }
+ 
+-void proxy_append_header(connection *con, const char *key, const char *value) {
++static void proxy_append_header(connection *con, const char *key, const char *value) {
+     data_string *ds_dst;
+ 
+     if (NULL == (ds_dst = (data_string *)array_get_unused_element(con->request.headers, TYPE_STRING))) {
+@@ -1321,6 +1321,7 @@
+ }
+ 
+ 
++int mod_proxy_plugin_init(plugin *p);
+ int mod_proxy_plugin_init(plugin *p) {
+ 	p->version      = LIGHTTPD_VERSION_ID;
+ 	p->name         = buffer_init_string("proxy");
+Index: src/mod_extforward.c
+===================================================================
+--- src/mod_extforward.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_extforward.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -294,7 +294,7 @@
+ 	return NULL;
+ }
+ 
+-struct addrinfo *ipstr_to_sockaddr(const char *host)
++static struct addrinfo *ipstr_to_sockaddr(const char *host)
+ {
+    struct addrinfo hints, *res0;
+    int result;
+@@ -479,6 +479,7 @@
+ 
+ /* this function is called at dlopen() time and inits the callbacks */
+ 
++int mod_extforward_plugin_init(plugin *p);
+ int mod_extforward_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        = buffer_init_string("extforward");
+Index: src/mod_expire.c
+===================================================================
+--- src/mod_expire.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_expire.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -354,6 +354,7 @@
+ 
+ /* this function is called at dlopen() time and inits the callbacks */
+ 
++int mod_expire_plugin_init(plugin *p);
+ int mod_expire_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        = buffer_init_string("expire");
+Index: src/mod_redirect.c
+===================================================================
+--- src/mod_redirect.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_redirect.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -271,6 +271,7 @@
+ }
+ 
+ 
++int mod_redirect_plugin_init(plugin *p);
+ int mod_redirect_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        = buffer_init_string("redirect");
+Index: src/mod_usertrack.c
+===================================================================
+--- src/mod_usertrack.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_usertrack.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -255,6 +255,7 @@
+ 
+ /* this function is called at dlopen() time and inits the callbacks */
+ 
++int mod_usertrack_plugin_init(plugin *p);
+ int mod_usertrack_plugin_init(plugin *p) {
+ 	p->version     = LIGHTTPD_VERSION_ID;
+ 	p->name        = buffer_init_string("usertrack");
+Index: src/mod_webdav.c
+===================================================================
+--- src/mod_webdav.c	(.../tags/lighttpd-1.4.22)	(revision 2417)
++++ src/mod_webdav.c	(.../branches/lighttpd-1.4.x)	(revision 2417)
+@@ -1096,7 +1096,7 @@
+ }
+ #endif
+ 
+-int webdav_lockdiscovery(server *srv, connection *con,
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/lighttpd-branch.diff?r1=1.47&r2=1.48&f=u



More information about the pld-cvs-commit mailing list