add a patch to provide a descent PATH to cgi,
[openwrt.git] / openwrt / package / mini_httpd / patches / 001-cgi_path.patch
1 diff -ruN mini_httpd-1.19-old/mini_httpd.c mini_httpd-1.19-new/mini_httpd.c
2 --- mini_httpd-1.19-old/mini_httpd.c 2005-10-19 01:11:24.000000000 +0200
3 +++ mini_httpd-1.19-new/mini_httpd.c 2005-10-19 01:13:05.000000000 +0200
4 @@ -138,10 +138,10 @@
5 #define CGI_NICE 10
6 #endif /* CGI_NICE */
7 #ifndef CGI_PATH
8 -#define CGI_PATH "/usr/local/bin:/usr/ucb:/bin:/usr/bin"
9 +#define CGI_PATH "/usr/bin:/bin:/usr/sbin:/sbin"
10 #endif /* CGI_PATH */
11 #ifndef CGI_LD_LIBRARY_PATH
12 -#define CGI_LD_LIBRARY_PATH "/usr/local/lib:/usr/lib"
13 +#define CGI_LD_LIBRARY_PATH "/usr/lib:/lib"
14 #endif /* CGI_LD_LIBRARY_PATH */
15 #ifndef AUTH_FILE
16 #define AUTH_FILE ".htpasswd"
This page took 0.062673 seconds and 5 git commands to generate.