On Thu, Apr 15, 2010 at 5:26 AM, Kim B. Heino <[email protected]> wrote:
> Signed-off-by: Kim B. Heino <[email protected]>
>
>
> diff -ur orig/networking/httpd_indexcgi.c 
> busybox-1.16.1/networking/httpd_indexcgi.c
> --- orig/networking/httpd_indexcgi.c    2010-03-20 04:58:07.000000000 +0200
> +++ busybox-1.16.1/networking/httpd_indexcgi.c  2010-04-15 15:19:32.773974069 
> +0300
> @@ -315,7 +315,7 @@
>                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++ = ' ';

Thanks! I put it in hotfixes too:

http://busybox.net/downloads/fixes-1.16.1/busybox-1.16.1-indexcgi.patch
-- 
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to