aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/250-ash_export-n.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-05-25 13:52:31 +0000
committerNicolas Thill <nico@openwrt.org>2009-05-25 13:52:31 +0000
commit9a16485900651090129f6a1ede264702a862c387 (patch)
tree0bc4ebb8729e38bff019507b3775e5ec5be54b6e /package/busybox/patches/250-ash_export-n.patch
parent9e9ac96aeb2fff71b29828fd04c20569a775d3d6 (diff)
downloadupstream-9a16485900651090129f6a1ede264702a862c387.tar.gz
upstream-9a16485900651090129f6a1ede264702a862c387.tar.bz2
upstream-9a16485900651090129f6a1ede264702a862c387.zip
busybox: update to v1.12.4 (partially closes: #4279)
SVN-Revision: 16053
Diffstat (limited to 'package/busybox/patches/250-ash_export-n.patch')
-rw-r--r--package/busybox/patches/250-ash_export-n.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/busybox/patches/250-ash_export-n.patch b/package/busybox/patches/250-ash_export-n.patch
index 0662ba38af..50eaa62d0b 100644
--- a/package/busybox/patches/250-ash_export-n.patch
+++ b/package/busybox/patches/250-ash_export-n.patch
@@ -1,9 +1,9 @@
--- a/shell/ash.c
+++ b/shell/ash.c
-@@ -11909,8 +11909,17 @@ exportcmd(int argc ATTRIBUTE_UNUSED, cha
+@@ -12018,8 +12018,17 @@ exportcmd(int argc UNUSED_PARAM, char **
const char *p;
char **aptr;
- int flag = argv[0][0] == 'r'? VREADONLY : VEXPORT;
+ int flag = argv[0][0] == 'r' ? VREADONLY : VEXPORT;
+ int mask = ~0;
+ int nopt;
+ while ((nopt = nextopt("np"))) {
@@ -19,7 +19,7 @@
aptr = argptr;
name = *aptr;
if (name) {
-@@ -11922,10 +11931,12 @@ exportcmd(int argc ATTRIBUTE_UNUSED, cha
+@@ -12031,10 +12040,12 @@ exportcmd(int argc UNUSED_PARAM, char **
vp = *findvar(hashvar(name), name);
if (vp) {
vp->flags |= flag;