From ef02a404777a782757a65234e037a24c64ac7c96 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Mon, 3 Apr 2023 08:27:43 +0100 Subject: ash: fix POSIX build Commit 950b318a2 (ash: Unix-style paths, shell builtins and applets) added a call to stack_add_ext_space() which should only be included when building for Microsoft Windows. --- shell/ash.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell/ash.c b/shell/ash.c index 521ab22af..d15a6f685 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -9088,7 +9088,9 @@ static void shellexec(char *prog, char **argv, const char *path, int idx) || (applet_no = find_applet_by_name(prog)) >= 0 #endif ) { +#if ENABLE_PLATFORM_MINGW32 prog = stack_add_ext_space(prog); +#endif tryexec(IF_FEATURE_SH_STANDALONE(applet_no,) prog, argv, envp); if (applet_no >= 0) { /* We tried execing ourself, but it didn't work. -- cgit v1.2.3-55-g6feb