mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-20 20:34:29 +02:00
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:
parent
2017b41dbb
commit
fb847baa95
@ -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)
|
||||
|
@ -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++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user