dos.library: Replicate the Open("NIL:") special case to CreateNewProc()
commitc6fc47459e26ac512c53a61d40fcfdba679180a6
authorjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Thu, 2 Feb 2012 04:07:03 +0000 (2 04:07 +0000)
committerjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Thu, 2 Feb 2012 04:07:03 +0000 (2 04:07 +0000)
treed264ffaab19feb5630d45a009cd994bea7a93335
parentf4a5a74aa96f247d2cbd53acf4abc646a3285a9a
dos.library: Replicate the Open("NIL:") special case to CreateNewProc()

This is needed, otherwise the 'SetIoErr(0)' in Open() may trash
memory above the parent Task calling CreateNewProc().

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@43829 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/dos/createnewproc.c
rom/dos/open.c