posixc.library: save and restore upathbuf when vforking
commit7795a1668f6ec6c39bf37adaf3834aee0e431e48
authordeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 20 Apr 2014 17:56:26 +0000 (20 17:56 +0000)
committerdeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 20 Apr 2014 17:56:26 +0000 (20 17:56 +0000)
tree6d25ab732970ed192222abedb96d5eb9da5637cc
parent988e46b40d372c2fd8a6692395dae42866e3585d
posixc.library: save and restore upathbuf when vforking

Otherwise due to mempool substitution the upathbuf was sometimes
realloced (=freed) from wrong memory pool.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@48956 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
compiler/posixc/__vfork.c
compiler/posixc/__vfork.h