mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-22 13:24:28 +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 */
|
/* End Program */
|
||||||
case 0x4c:
|
case 0x4c:
|
||||||
if (((psp FAR *)MK_FP(cu_psp, 0))->ps_parent == cu_psp)
|
|
||||||
break;
|
|
||||||
tsr = FALSE;
|
tsr = FALSE;
|
||||||
rc = 0;
|
rc = 0;
|
||||||
if (ErrorMode)
|
if (ErrorMode)
|
||||||
|
@ -526,7 +526,7 @@ VOID return_user(void)
|
|||||||
/* might be a good idea to do that after closing
|
/* might be a good idea to do that after closing
|
||||||
but doesn't help NET either TE */
|
but doesn't help NET either TE */
|
||||||
|
|
||||||
if (!tsr)
|
if (!tsr && p->ps_parent != cu_psp)
|
||||||
{
|
{
|
||||||
network_redirector(REM_CLOSEALL);
|
network_redirector(REM_CLOSEALL);
|
||||||
for (i = 0; i < p->ps_maxfiles; i++)
|
for (i = 0; i < p->ps_maxfiles; i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user