diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-04-14 00:37:48 +0200 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-04-20 19:14:37 +0200 |
commit | 7e6103afcb83ea67b914411229c17a598fea4739 (patch) | |
tree | f56decf50c449dd537ac939b4f9a1a0107fb808f /shell | |
parent | 46efbaa6f1cd2d9538b6338cee8b7541ddbddb40 (diff) | |
download | busybox-w32-7e6103afcb83ea67b914411229c17a598fea4739.tar.gz busybox-w32-7e6103afcb83ea67b914411229c17a598fea4739.tar.bz2 busybox-w32-7e6103afcb83ea67b914411229c17a598fea4739.zip |
win32: ash: forkshell(): return early, MinGW port will have another way to "fork"
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) | |||
4700 | int pid; | 4700 | int pid; |
4701 | 4701 | ||
4702 | TRACE(("forkshell(%%%d, %p, %d) called\n", jobno(jp), n, mode)); | 4702 | TRACE(("forkshell(%%%d, %p, %d) called\n", jobno(jp), n, mode)); |
4703 | if (ENABLE_PLATFORM_MINGW32) | ||
4704 | return -1; | ||
4705 | |||
4703 | pid = fork(); | 4706 | pid = fork(); |
4704 | if (pid < 0) { | 4707 | if (pid < 0) { |
4705 | TRACE(("Fork failed, errno=%d", errno)); | 4708 | TRACE(("Fork failed, errno=%d", errno)); |