busybox: 1.14.1 ash fix
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 14 Jun 2009 18:12:40 +0000 (20:12 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 14 Jun 2009 18:12:40 +0000 (20:12 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/busybox/busybox-1.14.1-ash.patch [new file with mode: 0644]

diff --git a/package/busybox/busybox-1.14.1-ash.patch b/package/busybox/busybox-1.14.1-ash.patch
new file mode 100644 (file)
index 0000000..eee0542
--- /dev/null
@@ -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 */