<!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-04)</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>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-11-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
* support/src/test_support.c: Avoid magic numbers.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/ChangeLog.diff?r1=text&tr1=1.192&r2=text&tr2=1.193&diff_format=h">M</a></td><td width='1%'>1.193</td><td width='100%'>testsuites/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/support/src/test_support.c.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>testsuites/support/src/test_support.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/ChangeLog:1.192 rtems/testsuites/ChangeLog:1.193
--- rtems/testsuites/ChangeLog:1.192 Tue Oct 25 11:30:35 2011
+++ rtems/testsuites/ChangeLog Fri Nov 4 04:55:04 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-11-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * support/src/test_support.c: Avoid magic numbers.
+
</font> 2011-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h:<span style="background-color: #FF0000"> </span>
<font color='#006600'>diff -u rtems/testsuites/support/src/test_support.c:1.8 rtems/testsuites/support/src/test_support.c:1.9
--- rtems/testsuites/support/src/test_support.c:1.8 Tue Feb 22 05:11:44 2011
+++ rtems/testsuites/support/src/test_support.c Fri Nov 4 04:55:04 2011
</font><font color='#997700'>@@ -54,7 +54,7 @@
</font>
do {
result = rtems_workspace_allocate(
<font color='#880000'>- info.Free.largest-16,
</font><font color='#000088'>+ info.Free.largest - HEAP_BLOCK_HEADER_SIZE,
</font> &temp
);
if ((!result) || (!temp))
<font color='#997700'>@@ -72,7 +72,7 @@
</font> puts("Allocate_majority_of_heap: ");
size = malloc_free_space();
do {
<font color='#880000'>- temp = malloc( size-16 );
</font><font color='#000088'>+ temp = malloc( size - HEAP_BLOCK_HEADER_SIZE );
</font> if (!temp)
perror("Unable to allocate from workspace");
size = malloc_free_space();
</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>