For self-owning PSPs do everything that a normal exit does except for closing

files and releasing memory (see RBIL).


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1469 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2009-07-02 02:24:44 +00:00
parent 2017b41dbb
commit fb847baa95
2 changed files with 1 additions and 3 deletions

View File

@ -1035,8 +1035,6 @@ dispatch:
/* End Program */
case 0x4c:
if (((psp FAR *)MK_FP(cu_psp, 0))->ps_parent == cu_psp)
break;
tsr = FALSE;
rc = 0;
if (ErrorMode)

View File

@ -526,7 +526,7 @@ VOID return_user(void)
/* might be a good idea to do that after closing
but doesn't help NET either TE */
if (!tsr)
if (!tsr && p->ps_parent != cu_psp)
{
network_redirector(REM_CLOSEALL);
for (i = 0; i < p->ps_maxfiles; i++)