<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2011-10-24)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-24 Ralf Corsépius <ralf.corsepius@rtems.org>

        PR 1942/cpukit:
        * score/src/schedulercbsdetachthread.c: Move initialization of var
        "sched_info" down (Avoid it being used uninitialized).
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2965&r2=text&tr2=1.2966&diff_format=h">M</a></td><td width='1%'>1.2966</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/schedulercbsdetachthread.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>cpukit/score/src/schedulercbsdetachthread.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2965 rtems/cpukit/ChangeLog:1.2966
--- rtems/cpukit/ChangeLog:1.2965       Sun Oct 23 01:54:40 2011
+++ rtems/cpukit/ChangeLog      Mon Oct 24 07:54:49 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-10-24    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       PR 1942/cpukit:
+       * score/src/schedulercbsdetachthread.c: Move initialization of var
+       "sched_info" down (Avoid it being used uninitialized).
+
</font> 2011-10-23        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * libcsupport/src/utimes.c (utimes): Remove casts to time_t.

<font color='#006600'>diff -u rtems/cpukit/score/src/schedulercbsdetachthread.c:1.1 rtems/cpukit/score/src/schedulercbsdetachthread.c:1.2
--- rtems/cpukit/score/src/schedulercbsdetachthread.c:1.1       Thu Sep 15 10:49:32 2011
+++ rtems/cpukit/score/src/schedulercbsdetachthread.c   Mon Oct 24 07:54:50 2011
</font><font color='#997700'>@@ -31,7 +31,6 @@
</font>   /* The routine _Thread_Get may disable dispatch and not enable again. */
   if ( the_thread ) {
     _Thread_Enable_dispatch();
<font color='#880000'>-    sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
</font>   }
 
   if ( server_id < 0 || server_id >= _Scheduler_CBS_Maximum_servers )
<font color='#997700'>@@ -46,6 +45,7 @@
</font>     return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;
 
   _Scheduler_CBS_Server_list[server_id]->task_id = -1;
<font color='#000088'>+  sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
</font>   sched_info->cbs_server = NULL;
 
   the_thread->budget_algorithm = the_thread->Start.budget_algorithm;
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-24 Ralf Corsépius <ralf.corsepius@rtems.org>

        * configure.ac: Check for decls of utime and utimes.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2966&r2=text&tr2=1.2967&diff_format=h">M</a></td><td width='1%'>1.2967</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/configure.ac.diff?r1=text&tr1=1.206&r2=text&tr2=1.207&diff_format=h">M</a></td><td width='1%'>1.207</td><td width='100%'>cpukit/configure.ac</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2966 rtems/cpukit/ChangeLog:1.2967
--- rtems/cpukit/ChangeLog:1.2966       Mon Oct 24 07:54:49 2011
+++ rtems/cpukit/ChangeLog      Mon Oct 24 08:08:04 2011
</font><font color='#997700'>@@ -1,5 +1,9 @@
</font> 2011-10-24        Ralf Corsépius <ralf.corsepius@rtems.org>
 
<font color='#000088'>+   * configure.ac: Check for decls of utime and utimes.
+
+2011-10-24     Ralf Corsépius <ralf.corsepius@rtems.org>
+
</font>   PR 1942/cpukit:
        * score/src/schedulercbsdetachthread.c: Move initialization of var
        "sched_info" down (Avoid it being used uninitialized).

<font color='#006600'>diff -u rtems/cpukit/configure.ac:1.206 rtems/cpukit/configure.ac:1.207
--- rtems/cpukit/configure.ac:1.206     Fri Sep 30 08:08:45 2011
+++ rtems/cpukit/configure.ac   Mon Oct 24 08:08:05 2011
</font><font color='#997700'>@@ -298,6 +298,15 @@
</font> ## Check if libc provides BSD's strlcpy/strlcat
 AC_CHECK_FUNCS(strlcpy strlcat)
 
<font color='#000088'>+## Check if libc provides decl of utime
+## FIXME: utime has been deprecated in SUSv4.
+##        and is likely to be removed in future versions.
+## FIXME (BUG in newlib): SUSv4 saids including <utime.h> should be sufficient.
+AC_CHECK_DECLS([utime],,,[#include <sys/types.h>
+#include <utime.h>])
+## Check if libc provides decl of utimes
+AC_CHECK_DECLS([utimes],,,[#include <sys/time.h>])
+
</font> # ... far too many conditionals ...
 AM_CONDITIONAL(LIBRPC,[test x"$rtems_cv_HAS_NETWORKING" = x"yes"])
 AM_CONDITIONAL(NEWLIB,test x"$RTEMS_USE_NEWLIB" = x"yes")
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>