aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/000-upstream-indexcgi.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-04-16 08:48:19 +0000
committerNicolas Thill <nico@openwrt.org>2010-04-16 08:48:19 +0000
commit21d2e58ce8f1633b0ad25a3fe2a52ad56066cd98 (patch)
treefa29193827674ee4bdbdeb2df5f09072e8ff34a5 /package/busybox/patches/000-upstream-indexcgi.patch
parent2839397f6fc782d1e0160c1781b0fa975fef9d8b (diff)
downloadupstream-21d2e58ce8f1633b0ad25a3fe2a52ad56066cd98.tar.gz
upstream-21d2e58ce8f1633b0ad25a3fe2a52ad56066cd98.tar.bz2
upstream-21d2e58ce8f1633b0ad25a3fe2a52ad56066cd98.zip
package/busybox: add 3 upstream fixes, bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20904 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox/patches/000-upstream-indexcgi.patch')
-rw-r--r--package/busybox/patches/000-upstream-indexcgi.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/patches/000-upstream-indexcgi.patch b/package/busybox/patches/000-upstream-indexcgi.patch
new file mode 100644
index 0000000000..6f7a00b803
--- /dev/null
+++ b/package/busybox/patches/000-upstream-indexcgi.patch
@@ -0,0 +1,11 @@
+--- a/networking/httpd_indexcgi.c
++++ b/networking/httpd_indexcgi.c
+@@ -315,7 +315,7 @@ int main(int argc, char *argv[])
+ if (S_ISREG(cdir->dl_mode))
+ fmt_ull(cdir->dl_size);
+ fmt_str("<td class=dt>");
+- tm = gmtime(&cdir->dl_mtime);
++ ptm = gmtime(&cdir->dl_mtime);
+ fmt_04u(1900 + ptm->tm_year); *dst++ = '-';
+ fmt_02u(ptm->tm_mon + 1); *dst++ = '-';
+ fmt_02u(ptm->tm_mday); *dst++ = ' ';