On 05/05/2018 02:15 PM, enh wrote:
> ping?
I've also had:
@@ -793,6 +821,7 @@ long xparsetime(char *arg, long units, long *fraction)
double d;
long l;
+ if (*arg != '.' && !isdigit(*arg)) error_exit("bad %s", arg);
if (CFG_TOYBOX_FLOAT) d = strtod(arg, &arg);
else l = strtoul(arg, &arg, 10);
Locally in my tree for a while, but hadn't quite figured out if it was worth it
or would break stuff. *shrug* Backed it out so I could apply this...
Rob
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net