aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-07-17 16:13:35 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-07-17 16:13:35 +0200
commit203fd7bc66b869e5022ad33d26065e69eaaaf66b (patch)
tree23a0a01bc422e663f420492708ee3d6327d5fba8 /shell/ash.c
parent68e980545af6a8ffb2980f94a6edac4dd89940f3 (diff)
downloadbusybox-w32-203fd7bc66b869e5022ad33d26065e69eaaaf66b.tar.gz
busybox-w32-203fd7bc66b869e5022ad33d26065e69eaaaf66b.tar.bz2
busybox-w32-203fd7bc66b869e5022ad33d26065e69eaaaf66b.zip
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 b0c7dac54..987d618c6 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -6680,6 +6680,7 @@ subevalvar(char *p, char *varname, int strloc, int subtype,
6680 if (*loc++ == ':') { 6680 if (*loc++ == ':') {
6681 len = number(loc); 6681 len = number(loc);
6682 } 6682 }
6683//TODO: number() chokes on "-n". In bash, LEN=-n means strlen()-n
6683 } 6684 }
6684 if (pos < 0) { 6685 if (pos < 0) {
6685 /* ${VAR:$((-n)):l} starts n chars from the end */ 6686 /* ${VAR:$((-n)):l} starts n chars from the end */