From 7e6103afcb83ea67b914411229c17a598fea4739 Mon Sep 17 00:00:00 2001 From: Nguyễn Thái Ngọc Duy Date: Wed, 14 Apr 2010 00:37:48 +0200 Subject: win32: ash: forkshell(): return early, MinGW port will have another way to "fork" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nguyễn Thái Ngọc Duy --- shell/ash.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shell') diff --git a/shell/ash.c b/shell/ash.c index f2f50c0e6..34a5b65aa 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -4700,6 +4700,9 @@ forkshell(struct job *jp, union node *n, int mode) int pid; TRACE(("forkshell(%%%d, %p, %d) called\n", jobno(jp), n, mode)); + if (ENABLE_PLATFORM_MINGW32) + return -1; + pid = fork(); if (pid < 0) { TRACE(("Fork failed, errno=%d", errno)); -- cgit v1.2.3-55-g6feb