summaryrefslogtreecommitdiff
path: root/package/busybox/patches/004-busybox-1.23.0-ash.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-16 17:35:40 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-16 17:36:01 -0500
commitb9f38fd924dc5e2b6ed5b44eee37ec9d470192d4 (patch)
treeb3cad3ed6b0edb8db03767618a247b2219e0b9dc /package/busybox/patches/004-busybox-1.23.0-ash.patch
parentdf9a57f14eb1f2244b340a789d0698f5db0770e1 (diff)
update busybox to latest stable version
Diffstat (limited to 'package/busybox/patches/004-busybox-1.23.0-ash.patch')
-rw-r--r--package/busybox/patches/004-busybox-1.23.0-ash.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/package/busybox/patches/004-busybox-1.23.0-ash.patch b/package/busybox/patches/004-busybox-1.23.0-ash.patch
deleted file mode 100644
index fb494aa25..000000000
--- a/package/busybox/patches/004-busybox-1.23.0-ash.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- busybox-1.23.0/shell/ash.c
-+++ busybox-1.23.0-ash/shell/ash.c
-@@ -6746,6 +6746,14 @@ varvalue(char *name, int varflags, int f
- len = strlen(p);
- if (!(subtype == VSPLUS || subtype == VSLENGTH))
- memtodest(p, len, syntax, quotes);
-+#if ENABLE_UNICODE_SUPPORT
-+ if (subtype == VSLENGTH && len > 0) {
-+ reinit_unicode_for_ash();
-+ if (unicode_status == UNICODE_ON) {
-+ len = unicode_strlen(p);
-+ }
-+ }
-+#endif
- return len;
- }
-
-@@ -6829,15 +6837,7 @@ evalvar(char *p, int flags, struct strli
- varunset(p, var, 0, 0);
-
- if (subtype == VSLENGTH) {
-- ssize_t n = varlen;
-- if (n > 0) {
-- reinit_unicode_for_ash();
-- if (unicode_status == UNICODE_ON) {
-- const char *val = lookupvar(var);
-- n = unicode_strlen(val);
-- }
-- }
-- cvtnum(n > 0 ? n : 0);
-+ cvtnum(varlen > 0 ? varlen : 0);
- goto record;
- }
-