Files
Armin Kuster 224549c911 openhpi: refresh patches
WARNING: openhpi-3.6.1-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch openhpi-use-serial-tests-config-needed-by-ptest.patch
patching file configure.ac
Hunk #1 succeeded at 7 with fuzz 2.

Now at patch openhpi-use-serial-tests-config-needed-by-ptest.patch

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-13 12:43:44 -07:00

30 lines
873 B
Diff

commit e9f9a73c9dba8dd59f3d6c3acd9988ec8361d55a
Author: Aws Ismail <aws.ismail@windriver.com>
Date: Mon Dec 17 16:23:45 2012 -0500
Correct dangling g_thread_exit in session.c
hpi_shell's session.c has its progress_bar
thread created using pthread_create but
exited using g_thread_exit. Use pthread_exit
instead to avoid unpredictable GLIB thread
errors.
Upstream-Status: Pending
Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
Index: openhpi-3.6.1/hpi_shell/session.c
===================================================================
--- openhpi-3.6.1.orig/hpi_shell/session.c
+++ openhpi-3.6.1/hpi_shell/session.c
@@ -73,7 +73,7 @@ static void* progress_bar(void *unused)
if (i < (PROGRESS_BUF_SIZE - mes_len - 1)) i++;
t++;
};
- g_thread_exit(0);
+ pthread_exit(0);
return (void *)1;
}