<!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-06-15)</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>
<font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/ip_fw.c, libnetworking/netinet/ip_input.c:
Misc. 64bit-compatibility fixes.
</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.2388&r2=text&tr2=1.2389&diff_format=h">M</a></td><td width='1%'>1.2389</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.13&r2=text&tr2=1.2346.2.14&diff_format=h">M</a></td><td width='1%'>1.2346.2.14</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libnetworking/netinet/ip_fw.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>cpukit/libnetworking/netinet/ip_fw.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libnetworking/netinet/ip_fw.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.5.2.1&diff_format=h">M</a></td><td width='1%'>1.5.2.1</td><td width='100%'>cpukit/libnetworking/netinet/ip_fw.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libnetworking/netinet/ip_input.c.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>cpukit/libnetworking/netinet/ip_input.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libnetworking/netinet/ip_input.c.diff?r1=text&tr1=1.12&r2=text&tr2=1.12.2.1&diff_format=h">M</a></td><td width='1%'>1.12.2.1</td><td width='100%'>cpukit/libnetworking/netinet/ip_input.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2388 rtems/cpukit/ChangeLog:1.2389
--- rtems/cpukit/ChangeLog:1.2388 Tue Jun 15 00:42:27 2010
+++ rtems/cpukit/ChangeLog Tue Jun 15 06:33:50 2010
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * libnetworking/netinet/ip_fw.c, libnetworking/netinet/ip_input.c:
+ Misc. 64bit-compatibility fixes.
+
+2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
</font> * libmisc/shell/print-ls.c, libmisc/shell/main_msdosfmt.c:
Include <inttypes.h>.
Misc. 64bit-compatibility fixes.
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2346.2.13 rtems/cpukit/ChangeLog:1.2346.2.14
--- rtems/cpukit/ChangeLog:1.2346.2.13 Tue Jun 15 00:42:38 2010
+++ rtems/cpukit/ChangeLog Tue Jun 15 06:33:59 2010
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * libnetworking/netinet/ip_fw.c, libnetworking/netinet/ip_input.c:
+ Misc. 64bit-compatibility fixes.
+
+2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
</font> * libmisc/shell/print-ls.c, libmisc/shell/main_msdosfmt.c:
Include <inttypes.h>.
Misc. 64bit-compatibility fixes.
<font color='#006600'>diff -u rtems/cpukit/libnetworking/netinet/ip_fw.c:1.5 rtems/cpukit/libnetworking/netinet/ip_fw.c:1.6
--- rtems/cpukit/libnetworking/netinet/ip_fw.c:1.5 Sun Mar 28 00:47:49 2010
+++ rtems/cpukit/libnetworking/netinet/ip_fw.c Tue Jun 15 06:33:51 2010
</font><font color='#997700'>@@ -78,7 +78,8 @@
</font>
#define dprintf(a) if (!fw_debug); else printf a
<font color='#880000'>-#define print_ip(a) printf("%ld.%ld.%ld.%ld",(ntohl(a.s_addr)>>24)&0xFF,\
</font><font color='#000088'>+#define print_ip(a) printf("%"PRId32".%"PRId32".%"PRId32".%"PRId32,\
+ <span style="background-color: #FF0000"> </span> (ntohl(a.s_addr)>>24)&0xFF,\
</font> <span style="background-color: #FF0000"> </span> (ntohl(a.s_addr)>>16)&0xFF,\
(ntohl(a.s_addr)>>8)&0xFF,\
(ntohl(a.s_addr))&0xFF);
<font color='#006600'>diff -u rtems/cpukit/libnetworking/netinet/ip_fw.c:1.5 rtems/cpukit/libnetworking/netinet/ip_fw.c:1.5.2.1
--- rtems/cpukit/libnetworking/netinet/ip_fw.c:1.5 Sun Mar 28 00:47:49 2010
+++ rtems/cpukit/libnetworking/netinet/ip_fw.c Tue Jun 15 06:34:00 2010
</font><font color='#997700'>@@ -78,7 +78,8 @@
</font>
#define dprintf(a) if (!fw_debug); else printf a
<font color='#880000'>-#define print_ip(a) printf("%ld.%ld.%ld.%ld",(ntohl(a.s_addr)>>24)&0xFF,\
</font><font color='#000088'>+#define print_ip(a) printf("%"PRId32".%"PRId32".%"PRId32".%"PRId32,\
+ <span style="background-color: #FF0000"> </span> (ntohl(a.s_addr)>>24)&0xFF,\
</font> <span style="background-color: #FF0000"> </span> (ntohl(a.s_addr)>>16)&0xFF,\
(ntohl(a.s_addr)>>8)&0xFF,\
(ntohl(a.s_addr))&0xFF);
<font color='#006600'>diff -u rtems/cpukit/libnetworking/netinet/ip_input.c:1.12 rtems/cpukit/libnetworking/netinet/ip_input.c:1.13
--- rtems/cpukit/libnetworking/netinet/ip_input.c:1.12 Sun Mar 28 00:47:49 2010
+++ rtems/cpukit/libnetworking/netinet/ip_input.c Tue Jun 15 06:33:51 2010
</font><font color='#997700'>@@ -1188,7 +1188,7 @@
</font> *(mtod(m, struct in_addr *)) = *p--;
#ifdef DIAGNOSTIC
if (ipprintfs)
<font color='#880000'>- printf(" hops %lx", ntohl(mtod(m, struct in_addr *)->s_addr));
</font><font color='#000088'>+ printf(" hops %"PRIx32, ntohl(mtod(m, struct in_addr *)->s_addr));
</font> #endif
/*
<font color='#997700'>@@ -1208,7 +1208,7 @@
</font> while (p >= ip_srcrt.route) {
#ifdef DIAGNOSTIC
if (ipprintfs)
<font color='#880000'>- printf(" %lx", ntohl(q->s_addr));
</font><font color='#000088'>+ printf(" %"PRIx32, ntohl(q->s_addr));
</font> #endif
*q++ = *p--;
}
<font color='#997700'>@@ -1218,7 +1218,7 @@
</font> *q = ip_srcrt.dst;
#ifdef DIAGNOSTIC
if (ipprintfs)
<font color='#880000'>- printf(" %lx\n", ntohl(q->s_addr));
</font><font color='#000088'>+ printf(" %"PRIx32"\n", ntohl(q->s_addr));
</font> #endif
return (m);
}
<font color='#997700'>@@ -1294,7 +1294,7 @@
</font> dest = 0;
#ifdef DIAGNOSTIC
if (ipprintfs)
<font color='#880000'>- printf("forward: src %lx dst %lx ttl %x\n",
</font><font color='#000088'>+ printf("forward: src %"PRIx32" dst %"PRIx32" ttl %x\n",
</font> ip->ip_src.s_addr, ip->ip_dst.s_addr, ip->ip_ttl);
#endif
<font color='#006600'>diff -u rtems/cpukit/libnetworking/netinet/ip_input.c:1.12 rtems/cpukit/libnetworking/netinet/ip_input.c:1.12.2.1
--- rtems/cpukit/libnetworking/netinet/ip_input.c:1.12 Sun Mar 28 00:47:49 2010
+++ rtems/cpukit/libnetworking/netinet/ip_input.c Tue Jun 15 06:34:00 2010
</font><font color='#997700'>@@ -1188,7 +1188,7 @@
</font> *(mtod(m, struct in_addr *)) = *p--;
#ifdef DIAGNOSTIC
if (ipprintfs)
<font color='#880000'>- printf(" hops %lx", ntohl(mtod(m, struct in_addr *)->s_addr));
</font><font color='#000088'>+ printf(" hops %"PRIx32, ntohl(mtod(m, struct in_addr *)->s_addr));
</font> #endif
/*
<font color='#997700'>@@ -1208,7 +1208,7 @@
</font> while (p >= ip_srcrt.route) {
#ifdef DIAGNOSTIC
if (ipprintfs)
<font color='#880000'>- printf(" %lx", ntohl(q->s_addr));
</font><font color='#000088'>+ printf(" %"PRIx32, ntohl(q->s_addr));
</font> #endif
*q++ = *p--;
}
<font color='#997700'>@@ -1218,7 +1218,7 @@
</font> *q = ip_srcrt.dst;
#ifdef DIAGNOSTIC
if (ipprintfs)
<font color='#880000'>- printf(" %lx\n", ntohl(q->s_addr));
</font><font color='#000088'>+ printf(" %"PRIx32"\n", ntohl(q->s_addr));
</font> #endif
return (m);
}
<font color='#997700'>@@ -1294,7 +1294,7 @@
</font> dest = 0;
#ifdef DIAGNOSTIC
if (ipprintfs)
<font color='#880000'>- printf("forward: src %lx dst %lx ttl %x\n",
</font><font color='#000088'>+ printf("forward: src %"PRIx32" dst %"PRIx32" ttl %x\n",
</font> ip->ip_src.s_addr, ip->ip_dst.s_addr, ip->ip_ttl);
#endif
</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>