diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-04 22:38:59 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-04 22:38:59 +0000 |
commit | 70121d6ca8fd0e48f35b3ccb52e3b960e64df6c2 (patch) | |
tree | 8f6f8829ea4e5a7f5bd1a48503aa7308bbf90e4e /nuttx/sched/env_setenv.c | |
parent | f34406ac488b6d5fb2f50f026e1964fb33ae649d (diff) | |
download | px4-nuttx-70121d6ca8fd0e48f35b3ccb52e3b960e64df6c2.tar.gz px4-nuttx-70121d6ca8fd0e48f35b3ccb52e3b960e64df6c2.tar.bz2 px4-nuttx-70121d6ca8fd0e48f35b3ccb52e3b960e64df6c2.zip |
Bugfix: whenever a thread it must report the PID of the main task (even it is not the main task) with SIGCHLD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5612 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/env_setenv.c')
-rw-r--r-- | nuttx/sched/env_setenv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nuttx/sched/env_setenv.c b/nuttx/sched/env_setenv.c index 772b01160..7ce3e1a1f 100644 --- a/nuttx/sched/env_setenv.c +++ b/nuttx/sched/env_setenv.c @@ -121,7 +121,7 @@ int setenv(FAR const char *name, FAR const char *value, int overwrite) } } - /* Get a reference to the thread-private environ in the TCB.*/ + /* Get a reference to the thread-private environ in the TCB. */ sched_lock(); rtcb = (FAR struct tcb_s*)g_readytorun.head; @@ -203,5 +203,3 @@ errout: #endif /* CONFIG_DISABLE_ENVIRON */ - - |