mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
busybox: 1.14.1 ash fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
0b6b2e3470
commit
56d63b6193
13
package/busybox/busybox-1.14.1-ash.patch
Normal file
13
package/busybox/busybox-1.14.1-ash.patch
Normal file
@ -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 */
|
Loading…
x
Reference in New Issue
Block a user