summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-06-14 20:12:40 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-06-14 20:12:40 +0200
commit56d63b6193954320fac13e10d3981fd385ec3245 (patch)
tree142bb701fbc86a052fff5468299005fe91198246
parent0b6b2e34705ddb17cdcff87ba1cc9a5a896c0c91 (diff)
busybox: 1.14.1 ash fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/busybox/busybox-1.14.1-ash.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.14.1-ash.patch b/package/busybox/busybox-1.14.1-ash.patch
new file mode 100644
index 000000000..eee054239
--- /dev/null
+++ b/package/busybox/busybox-1.14.1-ash.patch
@@ -0,0 +1,13 @@
+diff -urpN busybox-1.14.1/shell/ash.c busybox-1.14.1-ash/shell/ash.c
+--- busybox-1.14.1/shell/ash.c 2009-05-27 18:00:23.000000000 +0200
++++ busybox-1.14.1-ash/shell/ash.c 2009-06-14 19:44:24.000000000 +0200
+@@ -11909,7 +11909,8 @@ find_dot_file(char *name)
+ */
+ return fullname;
+ }
+- stunalloc(fullname);
++ if (fullname != name)
++ stunalloc(fullname);
+ }
+
+ /* not found in the PATH */