From 6b9e04991d241fdafbdf9e899e4ea1ac2c4f5cd4 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 16 Apr 2010 08:48:19 +0000 Subject: package/busybox: add 3 upstream fixes, bump release number SVN-Revision: 20904 --- package/busybox/patches/000-upstream-indexcgi.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/busybox/patches/000-upstream-indexcgi.patch (limited to 'package/busybox/patches/000-upstream-indexcgi.patch') diff --git a/package/busybox/patches/000-upstream-indexcgi.patch b/package/busybox/patches/000-upstream-indexcgi.patch new file mode 100644 index 0000000..6f7a00b --- /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(""); +- 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++ = ' '; -- cgit v1.1