diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-14 19:22:32 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-14 19:22:32 +0000 |
commit | 84cd4c9f496ed927cac9c8d1cfab0c9747bbf85a (patch) | |
tree | 45a3ce8d73b15e96d13ef6a48171a61a1a8449b8 /nuttx/sched/task_vfork.c | |
parent | f3c15e2b0508635898c2c0fcf1564394d8aa8cfc (diff) | |
download | px4-nuttx-84cd4c9f496ed927cac9c8d1cfab0c9747bbf85a.tar.gz px4-nuttx-84cd4c9f496ed927cac9c8d1cfab0c9747bbf85a.tar.bz2 px4-nuttx-84cd4c9f496ed927cac9c8d1cfab0c9747bbf85a.zip |
Finish dup logic for open files; fix bug in sigtimedwait(), would return wrong signo value if the signal was already pending
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5517 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/task_vfork.c')
-rw-r--r-- | nuttx/sched/task_vfork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/task_vfork.c b/nuttx/sched/task_vfork.c index 0ea09b048..4b42c7b36 100644 --- a/nuttx/sched/task_vfork.c +++ b/nuttx/sched/task_vfork.c @@ -291,7 +291,7 @@ pid_t task_vforkstart(FAR _TCB *child) * still running. */ - while ((ret = kill(pid, 0)) == OK) + while (kill(pid, 0) == OK) { /* Yes.. then we can yield to it -- assuming that it has not lowered * its priority. sleep(0) might be a safer thing to do since it does |