<!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 (2010-08-23)</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-08-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
* startup/bspstart.c: Add include to fix warning.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/hurricane/ChangeLog.diff?r1=text&tr1=1.52&r2=text&tr2=1.53&diff_format=h">M</a></td><td width='1%'>1.53</td><td width='100%'>c/src/lib/libbsp/mips/hurricane/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>c/src/lib/libbsp/mips/hurricane/startup/bspstart.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/hurricane/ChangeLog:1.52 rtems/c/src/lib/libbsp/mips/hurricane/ChangeLog:1.53
--- rtems/c/src/lib/libbsp/mips/hurricane/ChangeLog:1.52 Thu May 13 15:51:30 2010
+++ rtems/c/src/lib/libbsp/mips/hurricane/ChangeLog Mon Aug 23 18:10:26 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-08-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ * startup/bspstart.c: Add include to fix warning.
+
</font> 2010-05-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am: Many files were duplicated across MIPS
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c:1.11 rtems/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c:1.12
--- rtems/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c:1.11 Sun Nov 29 09:27:06 2009
+++ rtems/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c Mon Aug 23 18:10:27 2010
</font><font color='#997700'>@@ -17,6 +17,7 @@
</font> #include <string.h>
#include <bsp.h>
<font color='#000088'>+#include <libcpu/isr_entries.h>
</font>
uint32_t bsp_clicks_per_microsecond;
</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>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libblock/src/flashdisk.c, libblock/src/nvdisk.c,
libcsupport/src/ioctl.c, libfs/src/dosfs/fat_file.c: Add va_end().
</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.2581&r2=text&tr2=1.2582&diff_format=h">M</a></td><td width='1%'>1.2582</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libblock/src/flashdisk.c.diff?r1=text&tr1=1.19&r2=text&tr2=1.20&diff_format=h">M</a></td><td width='1%'>1.20</td><td width='100%'>cpukit/libblock/src/flashdisk.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libblock/src/nvdisk.c.diff?r1=text&tr1=1.16&r2=text&tr2=1.17&diff_format=h">M</a></td><td width='1%'>1.17</td><td width='100%'>cpukit/libblock/src/nvdisk.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/ioctl.c.diff?r1=text&tr1=1.17&r2=text&tr2=1.18&diff_format=h">M</a></td><td width='1%'>1.18</td><td width='100%'>cpukit/libcsupport/src/ioctl.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/dosfs/fat_file.c.diff?r1=text&tr1=1.16&r2=text&tr2=1.17&diff_format=h">M</a></td><td width='1%'>1.17</td><td width='100%'>cpukit/libfs/src/dosfs/fat_file.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2581 rtems/cpukit/ChangeLog:1.2582
--- rtems/cpukit/ChangeLog:1.2581 Mon Aug 23 16:31:26 2010
+++ rtems/cpukit/ChangeLog Mon Aug 23 18:17:41 2010
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
<font color='#000088'>+ * libblock/src/flashdisk.c, libblock/src/nvdisk.c,
+ libcsupport/src/ioctl.c, libfs/src/dosfs/fat_file.c: Add va_end().
+
+2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
+
</font>
CID 79/DEADCODE
CID 78/DEADCODE
<font color='#006600'>diff -u rtems/cpukit/libblock/src/flashdisk.c:1.19 rtems/cpukit/libblock/src/flashdisk.c:1.20
--- rtems/cpukit/libblock/src/flashdisk.c:1.19 Mon Jun 14 08:01:58 2010
+++ rtems/cpukit/libblock/src/flashdisk.c Mon Aug 23 18:17:42 2010
</font><font color='#997700'>@@ -344,6 +344,7 @@
</font> ret = vfprintf (stdout, format, args);
fprintf (stdout, "\n");
fflush (stdout);
<font color='#000088'>+ va_end (args);
</font> }
return ret;
}
<font color='#997700'>@@ -368,6 +369,7 @@
</font> ret = vfprintf (stdout, format, args);
fprintf (stdout, "\n");
fflush (stdout);
<font color='#000088'>+ va_end (args);
</font> }
return ret;
}
<font color='#997700'>@@ -392,6 +394,7 @@
</font> ret = vfprintf (stdout, format, args);
fprintf (stdout, "\n");
fflush (stdout);
<font color='#000088'>+ va_end (args);
</font> }
return ret;
}
<font color='#997700'>@@ -414,6 +417,7 @@
</font> ret = vfprintf (stderr, format, args);
fprintf (stderr, "\n");
fflush (stderr);
<font color='#000088'>+ va_end (args);
</font> return ret;
}
<font color='#997700'>@@ -432,6 +436,7 @@
</font> vfprintf (stderr, format, args);
fprintf (stderr, "\n");
fflush (stderr);
<font color='#000088'>+ va_end (args);
</font> exit (1);
}
<font color='#006600'>diff -u rtems/cpukit/libblock/src/nvdisk.c:1.16 rtems/cpukit/libblock/src/nvdisk.c:1.17
--- rtems/cpukit/libblock/src/nvdisk.c:1.16 Sat May 22 11:43:09 2010
+++ rtems/cpukit/libblock/src/nvdisk.c Mon Aug 23 18:17:42 2010
</font><font color='#997700'>@@ -175,6 +175,7 @@
</font> ret = vfprintf (stdout, format, args);
fprintf (stdout, "\n");
fflush (stdout);
<font color='#000088'>+ va_end (args);
</font> }
return ret;
}
<font color='#997700'>@@ -199,6 +200,7 @@
</font> ret = vfprintf (stdout, format, args);
fprintf (stdout, "\n");
fflush (stdout);
<font color='#000088'>+ va_end (args);
</font> }
return ret;
}
<font color='#997700'>@@ -223,6 +225,7 @@
</font> ret = vfprintf (stdout, format, args);
fprintf (stdout, "\n");
fflush (stdout);
<font color='#000088'>+ va_end (args);
</font> }
return ret;
}
<font color='#997700'>@@ -245,6 +248,7 @@
</font> ret = vfprintf (stderr, format, args);
fprintf (stderr, "\n");
fflush (stderr);
<font color='#000088'>+ va_end (args);
</font> return ret;
}
<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/ioctl.c:1.17 rtems/cpukit/libcsupport/src/ioctl.c:1.18
--- rtems/cpukit/libcsupport/src/ioctl.c:1.17 Thu Jul 15 03:10:47 2010
+++ rtems/cpukit/libcsupport/src/ioctl.c Mon Aug 23 18:17:42 2010
</font><font color='#997700'>@@ -49,5 +49,6 @@
</font> */
rc = (*iop->pathinfo.handlers->ioctl_h)( iop, command, buffer );
<font color='#000088'>+ va_end( ap );
</font> return rc;
}
<font color='#006600'>diff -u rtems/cpukit/libfs/src/dosfs/fat_file.c:1.16 rtems/cpukit/libfs/src/dosfs/fat_file.c:1.17
--- rtems/cpukit/libfs/src/dosfs/fat_file.c:1.16 Mon Aug 23 16:29:31 2010
+++ rtems/cpukit/libfs/src/dosfs/fat_file.c Mon Aug 23 18:17:42 2010
</font><font color='#997700'>@@ -692,7 +692,7 @@
</font>
/* sanity check */
if ( pos >= fat_fd->fat_file_size ) {
<font color='#880000'>- va_end();
</font><font color='#000088'>+ va_end(ap);
</font> rtems_set_errno_and_return_minus_one( EIO );
}
</pre>
<p> </p>
<a name='cs3'></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-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libi2c/libi2c.c: Fix typo in va_end().
</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.2582&r2=text&tr2=1.2583&diff_format=h">M</a></td><td width='1%'>1.2583</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libi2c/libi2c.c.diff?r1=text&tr1=1.17&r2=text&tr2=1.18&diff_format=h">M</a></td><td width='1%'>1.18</td><td width='100%'>cpukit/libi2c/libi2c.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2582 rtems/cpukit/ChangeLog:1.2583
--- rtems/cpukit/ChangeLog:1.2582 Mon Aug 23 18:17:41 2010
+++ rtems/cpukit/ChangeLog Mon Aug 23 18:18:26 2010
</font><font color='#997700'>@@ -1,5 +1,9 @@
</font> 2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
<font color='#000088'>+ * libi2c/libi2c.c: Fix typo in va_end().
+
+2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
+
</font> * libblock/src/flashdisk.c, libblock/src/nvdisk.c,
libcsupport/src/ioctl.c, libfs/src/dosfs/fat_file.c: Add va_end().
<font color='#006600'>diff -u rtems/cpukit/libi2c/libi2c.c:1.17 rtems/cpukit/libi2c/libi2c.c:1.18
--- rtems/cpukit/libi2c/libi2c.c:1.17 Mon Jun 21 11:27:37 2010
+++ rtems/cpukit/libi2c/libi2c.c Mon Aug 23 18:18:27 2010
</font><font color='#997700'>@@ -603,8 +603,10 @@
</font> break;
case RTEMS_LIBI2C_IOCTL_START_TFM_READ_WRITE:
<font color='#880000'>- if (not_started (busno))
</font><font color='#000088'>+ if (not_started (busno)) {
+ va_end(ap);
</font> return -RTEMS_NOT_OWNER_OF_RESOURCE;
<font color='#000088'>+ }
</font>
/*
* address device, then set transfer mode and perform read_write transfer
<font color='#997700'>@@ -642,7 +644,8 @@
</font> sc = bush->ops->ioctl (bush, cmd, args);
break;
}
<font color='#880000'>- return sc;
</font><font color='#000088'>+ va_end(ap);
+ return sc;
</font> }
static int
</pre>
<p> </p>
<a name='cs4'></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-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/open.c: Spacing.
</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.2583&r2=text&tr2=1.2584&diff_format=h">M</a></td><td width='1%'>1.2584</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/open.c.diff?r1=text&tr1=1.27&r2=text&tr2=1.28&diff_format=h">M</a></td><td width='1%'>1.28</td><td width='100%'>cpukit/libcsupport/src/open.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2583 rtems/cpukit/ChangeLog:1.2584
--- rtems/cpukit/ChangeLog:1.2583 Mon Aug 23 18:18:26 2010
+++ rtems/cpukit/ChangeLog Mon Aug 23 18:19:06 2010
</font><font color='#997700'>@@ -1,5 +1,9 @@
</font> 2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
<font color='#000088'>+ * libcsupport/src/open.c: Spacing.
+
+2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
+
</font> * libi2c/libi2c.c: Fix typo in va_end().
2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/open.c:1.27 rtems/cpukit/libcsupport/src/open.c:1.28
--- rtems/cpukit/libcsupport/src/open.c:1.27 Thu Jul 15 03:10:47 2010
+++ rtems/cpukit/libcsupport/src/open.c Mon Aug 23 18:19:07 2010
</font><font color='#997700'>@@ -82,7 +82,6 @@
</font> if ( ( status & _FWRITE ) == _FWRITE )
eval_flags |= RTEMS_LIBIO_PERMS_WRITE;
<font color='#880000'>-
</font> va_start(ap, flags);
mode = va_arg( ap, int );
</pre>
<p> </p>
<a name='cs5'></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-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/read.c, libcsupport/src/write.c: Remove redundant
check for 0 size request.
</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.2584&r2=text&tr2=1.2585&diff_format=h">M</a></td><td width='1%'>1.2585</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/read.c.diff?r1=text&tr1=1.18&r2=text&tr2=1.19&diff_format=h">M</a></td><td width='1%'>1.19</td><td width='100%'>cpukit/libcsupport/src/read.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/write.c.diff?r1=text&tr1=1.19&r2=text&tr2=1.20&diff_format=h">M</a></td><td width='1%'>1.20</td><td width='100%'>cpukit/libcsupport/src/write.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2584 rtems/cpukit/ChangeLog:1.2585
--- rtems/cpukit/ChangeLog:1.2584 Mon Aug 23 18:19:06 2010
+++ rtems/cpukit/ChangeLog Mon Aug 23 18:19:30 2010
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
<font color='#000088'>+ * libcsupport/src/read.c, libcsupport/src/write.c: Remove redundant
+ check for 0 size request.
+
+2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
+
</font> * libcsupport/src/open.c: Spacing.
2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/read.c:1.18 rtems/cpukit/libcsupport/src/read.c:1.19
--- rtems/cpukit/libcsupport/src/read.c:1.18 Thu Jul 15 03:10:47 2010
+++ rtems/cpukit/libcsupport/src/read.c Mon Aug 23 18:19:31 2010
</font><font color='#997700'>@@ -1,7 +1,7 @@
</font> /*
* read() - POSIX 1003.1b 6.4.1 - Read From a File
*
<font color='#880000'>- * COPYRIGHT (c) 1989-1999.
</font><font color='#000088'>+ * COPYRIGHT (c) 1989-2010.
</font> * On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
<font color='#997700'>@@ -34,9 +34,6 @@
</font> rtems_libio_check_count( count );
rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );
<font color='#880000'>- if ( count == 0 )
- return 0;
-
</font> /*
* Now process the read().
*/
<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/write.c:1.19 rtems/cpukit/libcsupport/src/write.c:1.20
--- rtems/cpukit/libcsupport/src/write.c:1.19 Thu Jul 15 03:10:47 2010
+++ rtems/cpukit/libcsupport/src/write.c Mon Aug 23 18:19:31 2010
</font><font color='#997700'>@@ -1,7 +1,7 @@
</font> /*
* write() - POSIX 1003.1b 6.4.2 - Write to a File
*
<font color='#880000'>- * COPYRIGHT (c) 1989-2007.
</font><font color='#000088'>+ * COPYRIGHT (c) 1989-2010.
</font> * On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
<font color='#997700'>@@ -41,9 +41,6 @@
</font> rtems_libio_check_count( count );
rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );
<font color='#880000'>- if ( count == 0 )
- return 0;
-
</font> /*
* Now process the write() request.
*/
</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>