summaryrefslogtreecommitdiffhomepage
path: root/contrib/uhttpd/patches/001-pass-env.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-04-16 13:38:27 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-04-16 13:38:27 +0000
commitdaca626e86ff51e72f6423f3fb69e1a1d16d7c59 (patch)
tree8dc36e0f39e5ad4a357aa3452589e898fe243c73 /contrib/uhttpd/patches/001-pass-env.patch
parentcf018eae4c9a8eb614ab18d9ed7d73723ca2335b (diff)
build: add runuhttpd sdk target
Diffstat (limited to 'contrib/uhttpd/patches/001-pass-env.patch')
-rw-r--r--contrib/uhttpd/patches/001-pass-env.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/uhttpd/patches/001-pass-env.patch b/contrib/uhttpd/patches/001-pass-env.patch
new file mode 100644
index 0000000000..b69ff17653
--- /dev/null
+++ b/contrib/uhttpd/patches/001-pass-env.patch
@@ -0,0 +1,11 @@
+--- a/uhttpd-cgi.c
++++ b/uhttpd-cgi.c
+@@ -204,7 +204,7 @@ void uh_cgi_request(struct client *cl, s
+ (pi->stat.st_mode & S_IXOTH)
+ ) {
+ /* build environment */
+- clearenv();
++ //clearenv();
+
+ /* common information */
+ setenv("GATEWAY_INTERFACE", "CGI/1.1", 1);