Fix environment sharing bug

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@854 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-08-30 14:37:49 +00:00
parent d27e2d61b2
commit af1a31d5c6
3 changed files with 8 additions and 4 deletions

View File

@ -427,6 +427,8 @@
* NSH: Add mem command to display heap usage
* Added telnet NSH configuration for Neuros OSD.
* 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.

View File

@ -8,7 +8,7 @@
<tr align="center" bgcolor="#e4e4e4">
<td>
<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>
</tr>
</table>
@ -1061,7 +1061,9 @@ nuttx-0.3.13 2008-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
* NSH: Add mem command to display heap usage
* Added telnet NSH configuration for Neuros OSD.
* 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 &lt;spudmonkey@racsa.co.cr&gt;

View File

@ -98,7 +98,7 @@ int env_share(FAR _TCB *ptcb)
{
/* Yes.. increment the reference count on the environment */
envp++;
envp->ev_crefs++;
}
/* Then share the environment */