change log for rtems (2011-10-24)
rtems-vc at rtems.org
rtems-vc at rtems.org
Mon Oct 24 13:12:17 UTC 2011
*ralf*:
2011-10-24 Ralf Corsépius <ralf.corsepius at rtems.org>
PR 1942/cpukit:
* score/src/schedulercbsdetachthread.c: Move initialization of var
"sched_info" down (Avoid it being used uninitialized).
M 1.2966 cpukit/ChangeLog
M 1.2 cpukit/score/src/schedulercbsdetachthread.c
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
@@ -1,3 +1,9 @@
+2011-10-24 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ PR 1942/cpukit:
+ * score/src/schedulercbsdetachthread.c: Move initialization of var
+ "sched_info" down (Avoid it being used uninitialized).
+
2011-10-23 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/src/utimes.c (utimes): Remove casts to time_t.
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
@@ -31,7 +31,6 @@
/* The routine _Thread_Get may disable dispatch and not enable again. */
if ( the_thread ) {
_Thread_Enable_dispatch();
- sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
}
if ( server_id < 0 || server_id >= _Scheduler_CBS_Maximum_servers )
@@ -46,6 +45,7 @@
return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;
_Scheduler_CBS_Server_list[server_id]->task_id = -1;
+ sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
sched_info->cbs_server = NULL;
the_thread->budget_algorithm = the_thread->Start.budget_algorithm;
*ralf*:
2011-10-24 Ralf Corsépius <ralf.corsepius at rtems.org>
* configure.ac: Check for decls of utime and utimes.
M 1.2967 cpukit/ChangeLog
M 1.207 cpukit/configure.ac
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
@@ -1,5 +1,9 @@
2011-10-24 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * configure.ac: Check for decls of utime and utimes.
+
+2011-10-24 Ralf Corsépius <ralf.corsepius at rtems.org>
+
PR 1942/cpukit:
* score/src/schedulercbsdetachthread.c: Move initialization of var
"sched_info" down (Avoid it being used uninitialized).
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
@@ -298,6 +298,15 @@
## Check if libc provides BSD's strlcpy/strlcat
AC_CHECK_FUNCS(strlcpy strlcat)
+## 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>])
+
# ... 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")
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111024/2c96e2d4/attachment.html>
More information about the vc
mailing list