From a43695a58658b0f6dc7b3af7416f0f64c1ba394e Mon Sep 17 00:00:00 2001 From: neil Date: Sun, 30 Mar 2008 23:26:35 +0000 Subject: [PATCH] Remove old version of file. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@28189 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/c/shellcommands/EndCli.c | 72 -------------------------------------- 1 file changed, 72 deletions(-) delete mode 100644 workbench/c/shellcommands/EndCli.c diff --git a/workbench/c/shellcommands/EndCli.c b/workbench/c/shellcommands/EndCli.c deleted file mode 100644 index 94a344100..000000000 --- a/workbench/c/shellcommands/EndCli.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - Copyright © 1995-2008, The AROS Development Team. All rights reserved. - $Id$ - - Desc: EndCLI CLI command - Lang: English -*/ - -/****************************************************************************** - - - NAME - - EndCLI - - SYNOPSIS - - LOCATION - - C: - - FUNCTION - - Exits a Shell/CLI. - - INPUTS - - RESULT - - NOTES - - EXAMPLE - - BUGS - - SEE ALSO - - INTERNALS - - HISTORY - -******************************************************************************/ - - -#include -#include -#include - -#include - -AROS_SH0(EndCLI, 41.3) -{ - AROS_SHCOMMAND_INIT - - struct CommandLineInterface *cli = Cli(); - - - if (cli) - { - struct FileHandle *fhin = BADDR(cli->cli_CurrentInput); - struct FileHandle *fhout = BADDR(cli->cli_StandardOutput); - - cli->cli_Background = TRUE; - - fhin->fh_Pos = fhin->fh_End + 1; /* Simulate an EOF */ - fhout->fh_Pos = fhout->fh_Buf; /* don't flush cli's standard output on close*/ - } - - return RETURN_OK; - - AROS_SHCOMMAND_EXIT -} -- 2.11.4.GIT