Fix for AddDosNode(): When using ADNF_STARTPROC DeviceProc() was called with a casted...
commit36997d3a7db165ab85ddefab5c8a40c2f16cdf51
authorplaton42 <platon42@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 6 Jul 2009 14:16:27 +0000 (6 14:16 +0000)
committerplaton42 <platon42@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 6 Jul 2009 14:16:27 +0000 (6 14:16 +0000)
treeb47a1ce647f53e720f19ba1f095f0dc84a9cd4fa
parent8ac7e70aed42883be54d08a695fab5545ae8e452
Fix for AddDosNode(): When using ADNF_STARTPROC DeviceProc() was called with a casted Device * of the deviceNode pointer which was wrong in two ways: first DeviceProc() takes a STRPTR to the name and then, deviceNode is a DeviceNode pointer.
Fix for MakeDosNode(): According to the Autodocs, MakeDosNode() copies all necessary structures. The implementation did not copy the DosEnvec hence the input parameter had to stay in memory.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@31546 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/expansion/adddosnode.c
rom/expansion/makedosnode.c