diff options
Diffstat (limited to 'system/busybox/0001-ash-add-support-for-command_not_found_handle-hook-fu.patch')
-rw-r--r-- | system/busybox/0001-ash-add-support-for-command_not_found_handle-hook-fu.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/system/busybox/0001-ash-add-support-for-command_not_found_handle-hook-fu.patch b/system/busybox/0001-ash-add-support-for-command_not_found_handle-hook-fu.patch index e4ba6ece5..929370b9d 100644 --- a/system/busybox/0001-ash-add-support-for-command_not_found_handle-hook-fu.patch +++ b/system/busybox/0001-ash-add-support-for-command_not_found_handle-hook-fu.patch @@ -1,8 +1,8 @@ -From f76c1ddd625b3d9912d9e6df2e90fcb94d08be99 Mon Sep 17 00:00:00 2001 +From 185ba65457e991ebd0f6e64266380df5e11cc489 Mon Sep 17 00:00:00 2001 From: William Pitcock <nenolod@dereferenced.org> Date: Thu, 19 Oct 2017 17:24:40 +0000 -Subject: [PATCH] ash: add support for command_not_found_handle hook function, - like bash +Subject: [PATCH 01/16] ash: add support for command_not_found_handle hook + function, like bash This implements support for the command_not_found_handle hook function, which is useful for allowing package managers to suggest packages which could provide the @@ -17,7 +17,7 @@ Signed-off-by: William Pitcock <nenolod@dereferenced.org> 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/shell/ash.c b/shell/ash.c -index 88e607f08..c3c4f4e93 100644 +index b73a79975..7ceb91920 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -132,6 +132,15 @@ @@ -36,7 +36,7 @@ index 88e607f08..c3c4f4e93 100644 //config:endif # ash options //applet:IF_ASH(APPLET(ash, BB_DIR_BIN, BB_SUID_DROP)) -@@ -13123,8 +13132,19 @@ find_command(char *name, struct cmdentry *entry, int act, const char *path) +@@ -13166,8 +13175,19 @@ find_command(char *name, struct cmdentry *entry, int act, const char *path) /* We failed. If there was an entry for this command, delete it */ if (cmdp && updatetbl) delete_cmd_entry(); @@ -59,5 +59,5 @@ index 88e607f08..c3c4f4e93 100644 return; -- -2.14.2 +2.16.2 |