aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/.svn/text-base/440-httpd_chdir.patch.svn-base
diff options
context:
space:
mode:
authorJames <>2013-03-17 12:16:37 +0000
committerJames <>2013-03-17 12:16:37 +0000
commit27b76ab0671089c47506615a796a261e993896a7 (patch)
tree61213d67e7fa87b20356b23798558e2c4212c42f /package/busybox/patches/.svn/text-base/440-httpd_chdir.patch.svn-base
downloadtrunk-36060-27b76ab0671089c47506615a796a261e993896a7.tar.gz
trunk-36060-27b76ab0671089c47506615a796a261e993896a7.tar.bz2
trunk-36060-27b76ab0671089c47506615a796a261e993896a7.zip
Diffstat (limited to 'package/busybox/patches/.svn/text-base/440-httpd_chdir.patch.svn-base')
-rw-r--r--package/busybox/patches/.svn/text-base/440-httpd_chdir.patch.svn-base10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/busybox/patches/.svn/text-base/440-httpd_chdir.patch.svn-base b/package/busybox/patches/.svn/text-base/440-httpd_chdir.patch.svn-base
new file mode 100644
index 0000000..401c6eb
--- /dev/null
+++ b/package/busybox/patches/.svn/text-base/440-httpd_chdir.patch.svn-base
@@ -0,0 +1,10 @@
+--- a/networking/httpd.c
++++ b/networking/httpd.c
+@@ -1814,6 +1814,7 @@ static void handle_incoming_and_exit(con
+ char *header_ptr = header_ptr;
+ Htaccess_Proxy *proxy_entry;
+ #endif
++ xchdir(home_httpd);
+
+ /* Allocation of iobuf is postponed until now
+ * (IOW, server process doesn't need to waste 8k) */