Fix environment sharing bug
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@854 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
ca2ee49f45
commit
2f239ace1a
|
@ -427,6 +427,8 @@
|
||||||
* NSH: Add mem command to display heap usage
|
* NSH: Add mem command to display heap usage
|
||||||
* Added telnet NSH configuration for Neuros OSD.
|
* Added telnet NSH configuration for Neuros OSD.
|
||||||
* Basic integration of concurrent telnet/serial NSH functional on Neuros
|
* Basic integration of concurrent telnet/serial NSH functional on Neuros
|
||||||
OSD (some bugs on background commands).
|
OSD.
|
||||||
|
* Fixed a critical bug that effects the way that environement variables are
|
||||||
|
shared amongst pthreads.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<tr align="center" bgcolor="#e4e4e4">
|
<tr align="center" bgcolor="#e4e4e4">
|
||||||
<td>
|
<td>
|
||||||
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
|
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
|
||||||
<p>Last Updated: August 29, 2008</p>
|
<p>Last Updated: August 30, 2008</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -1061,7 +1061,9 @@ nuttx-0.3.13 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
* NSH: Add mem command to display heap usage
|
* NSH: Add mem command to display heap usage
|
||||||
* Added telnet NSH configuration for Neuros OSD.
|
* Added telnet NSH configuration for Neuros OSD.
|
||||||
* Basic integration of concurrent telnet/serial NSH functional on Neuros
|
* Basic integration of concurrent telnet/serial NSH functional on Neuros
|
||||||
OSD (some bugs on background commands).
|
OSD.
|
||||||
|
* Fixed a critical bug that effects the way that environement variables are
|
||||||
|
shared amongst pthreads.
|
||||||
|
|
||||||
pascal-0.1.3 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
pascal-0.1.3 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,7 @@ int env_share(FAR _TCB *ptcb)
|
||||||
{
|
{
|
||||||
/* Yes.. increment the reference count on the environment */
|
/* Yes.. increment the reference count on the environment */
|
||||||
|
|
||||||
envp++;
|
envp->ev_crefs++;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Then share the environment */
|
/* Then share the environment */
|
||||||
|
|
Loading…
Reference in New Issue