From 501c53eefe39f8aa34444a1d2ebfd507662f98fd Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 17 Dec 2024 03:09:41 -0500 Subject: commentary --- uxd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/uxd.c b/uxd.c index 4125909..55f02c6 100644 --- a/uxd.c +++ b/uxd.c @@ -205,9 +205,10 @@ long parse_number(int opt, const char *s) { result = strtol(s, &e, 0); - /* buglet here: 100x is correctly rejected, but 100kx is allowed + /* buglets here: 100x is correctly rejected, but 100kx is allowed (the x is ignored). not gonna worry about it. some people might - even make use of it: 100kb or 100Kb will work. */ + even make use of it: 100kb or 100Kb will work. also, a suffix + by itself, like -sk, is accepted (and treated as zero). */ switch(*e) { case 0: break; case 'k': result *= 1024L; break; -- cgit v1.2.3