From 396dbf68b1cfdce2e6f455b5ec646b4c5b65c55e Mon Sep 17 00:00:00 2001 From: nico Date: Mon, 25 May 2009 13:52:31 +0000 Subject: [package] busybox: update to v1.12.4 (partially closes: #4279) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16053 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/busybox/patches/250-ash_export-n.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/busybox/patches/250-ash_export-n.patch') diff --git a/package/busybox/patches/250-ash_export-n.patch b/package/busybox/patches/250-ash_export-n.patch index 0662ba38a..50eaa62d0 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; -- cgit v1.2.3