summaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorDenys Vlasenko2017-07-17 16:13:35 +0200
committerDenys Vlasenko2017-07-17 16:13:35 +0200
commit203fd7bc66b869e5022ad33d26065e69eaaaf66b (patch)
tree23a0a01bc422e663f420492708ee3d6327d5fba8 /shell/ash.c
parent68e980545af6a8ffb2980f94a6edac4dd89940f3 (diff)
downloadbusybox-203fd7bc66b869e5022ad33d26065e69eaaaf66b.zip
busybox-203fd7bc66b869e5022ad33d26065e69eaaaf66b.tar.gz
shells: expand TODO comments, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index b0c7dac..987d618 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -6680,6 +6680,7 @@ subevalvar(char *p, char *varname, int strloc, int subtype,
if (*loc++ == ':') {
len = number(loc);
}
+//TODO: number() chokes on "-n". In bash, LEN=-n means strlen()-n
}
if (pos < 0) {
/* ${VAR:$((-n)):l} starts n chars from the end */