projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55468bf
)
task: Check for PR_SET_NAME before using
author
Emmanuel Pacaud
<emmanuel.pacaud@lapp.in2p3.fr>
Sat, 25 Jun 2011 20:51:52 +0000
(13:51 -0700)
committer
David Schleef
<ds@schleef.org>
Sat, 25 Jun 2011 20:52:28 +0000
(13:52 -0700)
Fixes: #653172.
Signed-off-by: David Schleef <ds@schleef.org>
gst/gsttask.c
patch
|
blob
|
history
diff --git
a/gst/gsttask.c
b/gst/gsttask.c
index
5acbc85
..
dbfd3bf
100644
(file)
--- a/
gst/gsttask.c
+++ b/
gst/gsttask.c
@@
-225,7
+225,7
@@
gst_task_finalize (GObject * object)
static void
gst_task_configure_name (GstTask * task)
{
-#if
def HAVE_SYS_PRCTL_H
+#if
defined(HAVE_SYS_PRCTL_H) && defined(PR_SET_NAME)
const gchar *name;
gchar thread_name[17] = { 0, };