[git commit] ash: remove unused EXSHELLPROC

Denys Vlasenko vda.linux at googlemail.com
Tue Oct 25 15:26:56 UTC 2016


commit: https://git.busybox.net/busybox/commit/?id=1825e4f935f8e9ef9685766ab60659d78602c906
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Upstream commit:

    Date: Sun, 28 Nov 2010 20:47:07 +0800
    [BUILTIN] Stop documenting EXSHELLPROC

    At some point between ash 0.3.5-11.0.1 and ash 0.3.8-37, Debian
    ash stopped using the EXSHELLPROC exception to handle shell
    scripts without a magic number.

    Remove all remaining references to it to avoid confusion.

    Signed-off-by: Jonathan Nieder <jrnieder at gmail.com>
    Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 shell/ash.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/shell/ash.c b/shell/ash.c
index 29d1d57..1511d95 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -301,7 +301,6 @@ struct globals_misc {
 	/* exceptions */
 #define EXINT 0         /* SIGINT received */
 #define EXERROR 1       /* a generic error */
-#define EXSHELLPROC 2   /* execute a shell procedure */
 #define EXEXIT 4        /* exit the shell */
 #define EXSIG 5         /* trapped signal in wait(1) */
 


More information about the busybox-cvs mailing list