<!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-02-10)</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/include/rtems/bdpart.h (rtems_bdpart_format):
Eliminate unnamed union (Non c99-compliant).
* libblock/src/bdpart-create.c, libblock/src/bdpart-read.c,
libblock/src/bdpart-write.c: Reflect changes above.
</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.2704&r2=text&tr2=1.2705&diff_format=h">M</a></td><td width='1%'>1.2705</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/include/rtems/bdpart.h.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>cpukit/libblock/include/rtems/bdpart.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libblock/src/bdpart-create.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%'>cpukit/libblock/src/bdpart-create.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libblock/src/bdpart-read.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%'>cpukit/libblock/src/bdpart-read.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libblock/src/bdpart-write.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%'>cpukit/libblock/src/bdpart-write.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2704 rtems/cpukit/ChangeLog:1.2705
--- rtems/cpukit/ChangeLog:1.2704 Wed Feb 9 00:18:57 2011
+++ rtems/cpukit/ChangeLog Thu Feb 10 17:34:58 2011
</font><font color='#997700'>@@ -1,3 +1,10 @@
</font><font color='#000088'>+2011-02-10 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * libblock/include/rtems/bdpart.h (rtems_bdpart_format):
+ Eliminate unnamed union (Non c99-compliant).
+ * libblock/src/bdpart-create.c, libblock/src/bdpart-read.c,
+ libblock/src/bdpart-write.c: Reflect changes above.
+
</font> 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* sapi/include/confdefs.h: Fix typo.
<font color='#006600'>diff -u rtems/cpukit/libblock/include/rtems/bdpart.h:1.3 rtems/cpukit/libblock/include/rtems/bdpart.h:1.4
--- rtems/cpukit/libblock/include/rtems/bdpart.h:1.3 Fri Apr 30 03:42:12 2010
+++ rtems/cpukit/libblock/include/rtems/bdpart.h Thu Feb 10 17:34:58 2011
</font><font color='#997700'>@@ -197,7 +197,7 @@
</font> */
uuid_t disk_id;
} gpt;
<font color='#880000'>- };
</font><font color='#000088'>+ } u;
</font> } rtems_bdpart_format;
/**
<font color='#006600'>diff -u rtems/cpukit/libblock/src/bdpart-create.c:1.1 rtems/cpukit/libblock/src/bdpart-create.c:1.2
--- rtems/cpukit/libblock/src/bdpart-create.c:1.1 Fri Apr 30 03:42:12 2010
+++ rtems/cpukit/libblock/src/bdpart-create.c Thu Feb 10 17:34:58 2011
</font><font color='#997700'>@@ -37,7 +37,7 @@
</font> rtems_status_code sc = RTEMS_SUCCESSFUL;
bool dos_compatibility = format != NULL
&& format->type == RTEMS_BDPART_FORMAT_MBR
<font color='#880000'>- && format->mbr.dos_compatibility;
</font><font color='#000088'>+ && format->u.mbr.dos_compatibility;
</font> rtems_blkdev_bnum disk_end = 0;
rtems_blkdev_bnum pos = 0;
rtems_blkdev_bnum dist_sum = 0;
<font color='#006600'>diff -u rtems/cpukit/libblock/src/bdpart-read.c:1.1 rtems/cpukit/libblock/src/bdpart-read.c:1.2
--- rtems/cpukit/libblock/src/bdpart-read.c:1.1 Fri Apr 30 03:42:13 2010
+++ rtems/cpukit/libblock/src/bdpart-read.c Thu Feb 10 17:34:58 2011
</font><font color='#997700'>@@ -261,10 +261,10 @@
</font>
/* Set format */
format->type = RTEMS_BDPART_FORMAT_MBR;
<font color='#880000'>- format->mbr.disk_id = rtems_uint32_from_little_endian(
</font><font color='#000088'>+ format->u.mbr.disk_id = rtems_uint32_from_little_endian(
</font> block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID
);
<font color='#880000'>- format->mbr.dos_compatibility = true;
</font><font color='#000088'>+ format->u.mbr.dos_compatibility = true;
</font>
/* Iterate through the rest of the primary partition table */
for (i = 1; i < 4; ++i) {
<font color='#006600'>diff -u rtems/cpukit/libblock/src/bdpart-write.c:1.1 rtems/cpukit/libblock/src/bdpart-write.c:1.2
--- rtems/cpukit/libblock/src/bdpart-write.c:1.1 Fri Apr 30 03:42:13 2010
+++ rtems/cpukit/libblock/src/bdpart-write.c Thu Feb 10 17:34:58 2011
</font><font color='#997700'>@@ -94,7 +94,7 @@
</font> rtems_status_code esc = RTEMS_SUCCESSFUL;
bool dos_compatibility = format != NULL
&& format->type == RTEMS_BDPART_FORMAT_MBR
<font color='#880000'>- && format->mbr.dos_compatibility;
</font><font color='#000088'>+ && format->u.mbr.dos_compatibility;
</font> rtems_bdbuf_buffer *block = NULL;
rtems_blkdev_bnum disk_end = 0;
rtems_blkdev_bnum record_space =
<font color='#997700'>@@ -219,7 +219,7 @@
</font>
/* Write disk ID */
rtems_uint32_to_little_endian(
<font color='#880000'>- format->mbr.disk_id,
</font><font color='#000088'>+ format->u.mbr.disk_id,
</font> block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID
);
</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-02-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/fdisk.c: Reflect changes above.
</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.2705&r2=text&tr2=1.2706&diff_format=h">M</a></td><td width='1%'>1.2706</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libmisc/shell/fdisk.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libmisc/shell/fdisk.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2705 rtems/cpukit/ChangeLog:1.2706
--- rtems/cpukit/ChangeLog:1.2705 Thu Feb 10 17:34:58 2011
+++ rtems/cpukit/ChangeLog Thu Feb 10 18:05:29 2011
</font><font color='#997700'>@@ -4,6 +4,7 @@
</font> Eliminate unnamed union (Non c99-compliant).
* libblock/src/bdpart-create.c, libblock/src/bdpart-read.c,
libblock/src/bdpart-write.c: Reflect changes above.
<font color='#000088'>+ * libmisc/shell/fdisk.c: Reflect changes above.
</font>
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#006600'>diff -u rtems/cpukit/libmisc/shell/fdisk.c:1.2 rtems/cpukit/libmisc/shell/fdisk.c:1.3
--- rtems/cpukit/libmisc/shell/fdisk.c:1.2 Fri Mar 26 12:18:43 2010
+++ rtems/cpukit/libmisc/shell/fdisk.c Thu Feb 10 18:05:29 2011
</font><font color='#997700'>@@ -132,8 +132,8 @@
</font>
/* Default format */
format.type = RTEMS_BDPART_FORMAT_MBR;
<font color='#880000'>- format.mbr.disk_id = 0;
- format.mbr.dos_compatibility = true;
</font><font color='#000088'>+ format.u.mbr.disk_id = 0;
+ format.u.mbr.dos_compatibility = true;
</font>
for (ai = 2; ai < argc; ++ai) {
char *s = argv [ai];
<font color='#997700'>@@ -194,9 +194,9 @@
</font> break;
case RTEMS_BDPART_SHELL_MBR:
if (strcmp( s, "dos") == 0) {
<font color='#880000'>- format.mbr.dos_compatibility = true;
</font><font color='#000088'>+ format.u.mbr.dos_compatibility = true;
</font> } else if (strcmp( s, "nodos") == 0) {
<font color='#880000'>- format.mbr.dos_compatibility = false;
</font><font color='#000088'>+ format.u.mbr.dos_compatibility = false;
</font> } else {
RTEMS_BDPART_SHELL_ERROR( "unexpected option: %s", argv [ai]);
}
</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>