On 07/28/2015 03:38 PM, enh wrote:
> (i haven't actually merged this in the Android tree, but my git-fu is
> too weak to get a diff of a new file otherwise.)
> 
> Author: Elliott Hughes <[email protected]>
> Date:   Tue Jul 28 13:14:17 2015 -0700
> 
>     Reject invalid dates in date(1).
> 
>     Humans get upset when date(1) lets mktime(3) work out what the 99th day
>     of the 99th month would be rather than rejecting the invalid date. For
>     the subtly wrong cases, rather than get into the leap year business,
>     let's rely on localtime_r(3).
> 
>     Bug: http://b/22788816

I don't suppose there's a better bug URL than that?

I note that people do actually use this behavior:

http://lists.busybox.net/pipermail/busybox/2005-June/048753.html

Rob
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to