<!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-11-28)</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>joel</strong></font>
<font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-11-28 Werner Almesberger <werner@almesberger.net>
PR 1961/cpukit
* score/src/coremsgsubmit.c: Close window caused by using message
pending count rather than directly obtaining unused buffer.
</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.2994&r2=text&tr2=1.2995&diff_format=h">M</a></td><td width='1%'>1.2995</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.1539.2.83&r2=text&tr2=1.1539.2.84&diff_format=h">M</a></td><td width='1%'>1.1539.2.84</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2346.2.107&r2=text&tr2=1.2346.2.108&diff_format=h">M</a></td><td width='1%'>1.2346.2.108</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/coremsgsubmit.c.diff?r1=text&tr1=1.26&r2=text&tr2=1.27&diff_format=h">M</a></td><td width='1%'>1.27</td><td width='100%'>cpukit/score/src/coremsgsubmit.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/coremsgsubmit.c.diff?r1=text&tr1=1.18&r2=text&tr2=1.18.2.1&diff_format=h">M</a></td><td width='1%'>1.18.2.1</td><td width='100%'>cpukit/score/src/coremsgsubmit.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/coremsgsubmit.c.diff?r1=text&tr1=1.25&r2=text&tr2=1.25.2.1&diff_format=h">M</a></td><td width='1%'>1.25.2.1</td><td width='100%'>cpukit/score/src/coremsgsubmit.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2994 rtems/cpukit/ChangeLog:1.2995
--- rtems/cpukit/ChangeLog:1.2994 Sat Nov 26 12:15:39 2011
+++ rtems/cpukit/ChangeLog Mon Nov 28 10:36:14 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-11-28 Werner Almesberger <werner@almesberger.net>
+
+ PR 1961/cpukit
+ * score/src/coremsgsubmit.c: Close window caused by using message
+ pending count rather than directly obtaining unused buffer.
+
</font> 2011-11-26 Gedare Bloom <gedare@rtems.org>
PR 1963
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.1539.2.83 rtems/cpukit/ChangeLog:1.1539.2.84
--- rtems/cpukit/ChangeLog:1.1539.2.83 Wed Nov 9 12:44:29 2011
+++ rtems/cpukit/ChangeLog Mon Nov 28 10:36:46 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-11-28 Werner Almesberger <werner@almesberger.net>
+
+ PR 1961/cpukit
+ * score/src/coremsgsubmit.c: Close window caused by using message
+ pending count rather than directly obtaining unused buffer.
+
</font> 2011-11-09 Werner Almesberger <werner@almesberger.net>
PR 1957/cpukit
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2346.2.107 rtems/cpukit/ChangeLog:1.2346.2.108
--- rtems/cpukit/ChangeLog:1.2346.2.107 Wed Nov 9 12:52:22 2011
+++ rtems/cpukit/ChangeLog Mon Nov 28 10:36:29 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-11-28 Werner Almesberger <werner@almesberger.net>
+
+ PR 1961/cpukit
+ * score/src/coremsgsubmit.c: Close window caused by using message
+ pending count rather than directly obtaining unused buffer.
+
</font> 2011-11-07 Ralf Corsepius <ralf.corsepius@rtems.org>
PR 1952/cpukit
<font color='#006600'>diff -u rtems/cpukit/score/src/coremsgsubmit.c:1.26 rtems/cpukit/score/src/coremsgsubmit.c:1.27
--- rtems/cpukit/score/src/coremsgsubmit.c:1.26 Sun Jul 24 18:55:13 2011
+++ rtems/cpukit/score/src/coremsgsubmit.c Mon Nov 28 10:36:14 2011
</font><font color='#997700'>@@ -101,21 +101,9 @@
</font> * No one waiting on the message queue at this time, so attempt to
* queue the message up for a future receive.
*/
<font color='#880000'>- if ( the_message_queue->number_of_pending_messages <
- the_message_queue->maximum_pending_messages ) {
-
- the_message =
- _CORE_message_queue_Allocate_message_buffer( the_message_queue );
-
- #if defined(RTEMS_DEBUG)
- /*
- * NOTE: If the system is consistent, this error should never occur.
- */
-
- if ( !the_message )
- return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED;
- #endif
-
</font><font color='#000088'>+ the_message =
+ _CORE_message_queue_Allocate_message_buffer( the_message_queue );
+ if ( the_message ) {
</font> _CORE_message_queue_Copy_buffer(
buffer,
the_message->Contents.buffer,
<font color='#006600'>diff -u rtems/cpukit/score/src/coremsgsubmit.c:1.18 rtems/cpukit/score/src/coremsgsubmit.c:1.18.2.1
--- rtems/cpukit/score/src/coremsgsubmit.c:1.18 Fri Sep 5 16:54:20 2008
+++ rtems/cpukit/score/src/coremsgsubmit.c Mon Nov 28 10:36:48 2011
</font><font color='#997700'>@@ -101,11 +101,9 @@
</font> * queue the message up for a future receive.
*/
<font color='#880000'>- if ( the_message_queue->number_of_pending_messages <
- the_message_queue->maximum_pending_messages ) {
-
- the_message =
- _CORE_message_queue_Allocate_message_buffer( the_message_queue );
</font><font color='#000088'>+ the_message =
+ _CORE_message_queue_Allocate_message_buffer( the_message_queue );
+ if ( the_message ) {
</font>
/*
* NOTE: If the system is consistent, this error should never occur.
<font color='#006600'>diff -u rtems/cpukit/score/src/coremsgsubmit.c:1.25 rtems/cpukit/score/src/coremsgsubmit.c:1.25.2.1
--- rtems/cpukit/score/src/coremsgsubmit.c:1.25 Sun Nov 29 07:51:52 2009
+++ rtems/cpukit/score/src/coremsgsubmit.c Mon Nov 28 10:36:31 2011
</font><font color='#997700'>@@ -102,21 +102,9 @@
</font> * No one waiting on the message queue at this time, so attempt to
* queue the message up for a future receive.
*/
<font color='#880000'>- if ( the_message_queue->number_of_pending_messages <
- the_message_queue->maximum_pending_messages ) {
-
- the_message =
- _CORE_message_queue_Allocate_message_buffer( the_message_queue );
-
- #if defined(RTEMS_DEBUG)
- /*
- * NOTE: If the system is consistent, this error should never occur.
- */
-
- if ( !the_message )
- return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED;
- #endif
-
</font><font color='#000088'>+ the_message =
+ _CORE_message_queue_Allocate_message_buffer( the_message_queue );
+ if ( the_message ) {
</font> _CORE_message_queue_Copy_buffer(
buffer,
the_message->Contents.buffer,
</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>