summaryrefslogtreecommitdiff
path: root/nptl_db
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-02-18 15:49:44 +0000
committerJakub Jelinek <jakub@redhat.com>2009-02-18 15:49:44 +0000
commitcf22c5c9b3a4a6cc81a269d49d2324b5df084d74 (patch)
treeca7e374c348baf4e6510329f3f271eca4eb5419f /nptl_db
parent73c5dd45bc405428148ee740cac61a1279fe57d4 (diff)
Updated to fedora-glibc-20090218T1534
Diffstat (limited to 'nptl_db')
-rw-r--r--nptl_db/ChangeLog5
-rw-r--r--nptl_db/td_thr_get_info.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/nptl_db/ChangeLog b/nptl_db/ChangeLog
index af819c301a..5166d3df66 100644
--- a/nptl_db/ChangeLog
+++ b/nptl_db/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-06 Ulrich Drepper <drepper@redhat.com>
+
+ * td_thr_get_info.c (td_thr_get_info): Initialize schedpolicy in
+ the special case [Coverity CID 251].
+
2008-03-25 Roland McGrath <roland@redhat.com>
[BZ #5983]
diff --git a/nptl_db/td_thr_get_info.c b/nptl_db/td_thr_get_info.c
index 99e5e19bf9..52985603bf 100644
--- a/nptl_db/td_thr_get_info.c
+++ b/nptl_db/td_thr_get_info.c
@@ -1,5 +1,5 @@
/* Get thread information.
- Copyright (C) 1999,2000,2001,2002,2003,2007 Free Software Foundation, Inc.
+ Copyright (C) 1999-2003,2007,2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 1999.
@@ -38,6 +38,7 @@ td_thr_get_info (const td_thrhandle_t *th, td_thrinfo_t *infop)
copy = NULL;
tls = 0;
cancelhandling = 0;
+ schedpolicy = SCHED_OTHER;
schedprio = 0;
tid = 0;
err = DB_GET_VALUE (report_events, th->th_ta_p,