<!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-testing (2010-10-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>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>

        * qemu-dump-trace.c: Fix issues identified by clang-analyzer.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/covoar/ChangeLog.diff?r1=text&tr1=1.13&r2=text&tr2=1.14&diff_format=h">M</a></td><td width='1%'>1.14</td><td width='100%'>covoar/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/covoar/qemu-dump-trace.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%'>covoar/qemu-dump-trace.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems-testing/covoar/ChangeLog:1.13 rtems-testing/covoar/ChangeLog:1.14
--- rtems-testing/covoar/ChangeLog:1.13 Mon Jun 21 07:36:36 2010
+++ rtems-testing/covoar/ChangeLog      Mon Oct  4 11:59:43 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-10-04    Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * qemu-dump-trace.c: Fix issues identified by clang-analyzer.
+
</font> 2010-06-21        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        * mkExplanation: Default value for verbose.

<font color='#006600'>diff -u rtems-testing/covoar/qemu-dump-trace.c:1.1 rtems-testing/covoar/qemu-dump-trace.c:1.2
--- rtems-testing/covoar/qemu-dump-trace.c:1.1  Mon May 24 15:07:09 2010
+++ rtems-testing/covoar/qemu-dump-trace.c      Mon Oct  4 11:59:43 2010
</font><font color='#997700'>@@ -1,9 +1,8 @@
</font> 
 #include <stdint.h>
 #include <stdio.h>
<font color='#880000'>-
-/* XXX this isn't right */
-typedef uint32_t target_ulong;
</font><font color='#000088'>+#include <errno.h>
+#include <string.h>
</font> 
 #include "qemu-traces.h"
 
<font color='#997700'>@@ -26,7 +25,8 @@
</font> 
   bytes = fread( &header, sizeof(struct trace_header), 1, trace );
   if ( bytes != 1 ) {
<font color='#880000'>-    fprintf( stderr, "error reading header of %s (%d)\n", name );
</font><font color='#000088'>+    fprintf( stderr, "error reading header of %s (%s)\n",
+             name, strerror(errno) );
</font>     return -1;
   }
   printf( "magic = %s\n", header.magic );
</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>