summaryrefslogtreecommitdiff
path: root/package/busybox/patches/250-ash_export-n.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2010-02-20 13:18:34 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2010-02-20 13:18:34 +0000
commitb52345c9ed59d27da97f266fc217216ef81ac0ec (patch)
tree8505af26d24c23feaadee0a71df65010ee08bbd8 /package/busybox/patches/250-ash_export-n.patch
parent3651c9804b32db19fa2e2cfd41f7dec75d143d22 (diff)
downloadmtk-20170518-b52345c9ed59d27da97f266fc217216ef81ac0ec.zip
mtk-20170518-b52345c9ed59d27da97f266fc217216ef81ac0ec.tar.gz
mtk-20170518-b52345c9ed59d27da97f266fc217216ef81ac0ec.tar.bz2
allow routed mode operation again
Fix part of bug #6709. SVN-Revision: 19779
Diffstat (limited to 'package/busybox/patches/250-ash_export-n.patch')
-rw-r--r--package/busybox/patches/250-ash_export-n.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/busybox/patches/250-ash_export-n.patch b/package/busybox/patches/250-ash_export-n.patch
index 6a420e2..92b198c 100644
--- a/package/busybox/patches/250-ash_export-n.patch
+++ b/package/busybox/patches/250-ash_export-n.patch
@@ -1,6 +1,6 @@
--- a/shell/ash.c
+++ b/shell/ash.c
-@@ -12360,8 +12360,17 @@ exportcmd(int argc UNUSED_PARAM, char **
+@@ -12351,8 +12351,17 @@ exportcmd(int argc UNUSED_PARAM, char **
const char *p;
char **aptr;
int flag = argv[0][0] == 'r' ? VREADONLY : VEXPORT;
@@ -19,7 +19,7 @@
aptr = argptr;
name = *aptr;
if (name) {
-@@ -12373,10 +12382,12 @@ exportcmd(int argc UNUSED_PARAM, char **
+@@ -12364,10 +12373,12 @@ exportcmd(int argc UNUSED_PARAM, char **
vp = *findvar(hashvar(name), name);
if (vp) {
vp->flags |= flag;