<!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-05-27)</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>2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/nfs.c:
Use uint32_t instead of u_int_t for readarg and writearg.
</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.2318&r2=text&tr2=1.2319&diff_format=h">M</a></td><td width='1%'>1.2319</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/nfsclient/src/nfs.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/libfs/src/nfsclient/src/nfs.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2318 rtems/cpukit/ChangeLog:1.2319
--- rtems/cpukit/ChangeLog:1.2318 Thu May 27 09:20:09 2010
+++ rtems/cpukit/ChangeLog Thu May 27 11:17:43 2010
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * libfs/src/nfsclient/src/nfs.c:<span style="background-color: #FF0000"> </span>
+ Use uint32_t instead of u_int_t for readarg and writearg.
+
+2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
+
</font> * libfs/src/nfsclient/src/nfs.c: Introduce union nfs_evalpath_arg.
2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#006600'>diff -u rtems/cpukit/libfs/src/nfsclient/src/nfs.c:1.19 rtems/cpukit/libfs/src/nfsclient/src/nfs.c:1.20
--- rtems/cpukit/libfs/src/nfsclient/src/nfs.c:1.19 Thu May 27 09:20:10 2010
+++ rtems/cpukit/libfs/src/nfsclient/src/nfs.c Thu May 27 11:17:44 2010
</font><font color='#997700'>@@ -384,16 +384,16 @@
</font> sattr attributes;
} sattrarg;
struct {
<font color='#880000'>- u_int<span style="background-color: #FF0000"> </span> offset;
- u_int count;
- u_int totalcount;
</font><font color='#000088'>+ uint32_t offset;
+ uint32_t count;
+ uint32_t totalcount;
</font> } readarg;
struct {
<font color='#880000'>- u_int beginoffset;
- u_int offset;
- u_int totalcount;
</font><font color='#000088'>+ uint32_t beginoffset;
+ uint32_t offset;
+ uint32_t totalcount;
</font> struct {
<font color='#880000'>- u_int data_len;
</font><font color='#000088'>+ uint32_t data_len;
</font> char* data_val;
} data;
} writearg;
<font color='#997700'>@@ -415,7 +415,7 @@
</font> } symlinkarg;
struct {
nfscookie cookie;
<font color='#880000'>- u_int count;
</font><font color='#000088'>+ uint32_t count;
</font> } readdirarg;
} arg_u;
} serporidok;
<font color='#997700'>@@ -2599,7 +2599,7 @@
</font>
SERP_ARGS(node).readarg.offset = iop->offset;
SERP_ARGS(node).readarg.count <span style="background-color: #FF0000"> </span> = count;
<font color='#880000'>- SERP_ARGS(node).readarg.totalcount = 0xdeadbeef;
</font><font color='#000088'>+ SERP_ARGS(node).readarg.totalcount = UINT32_C(0xdeadbeef);
</font>
rr.readres_u.reply.data.data_val = buffer;
<font color='#997700'>@@ -2702,7 +2702,7 @@
</font> count = NFS_MAXDATA;
<font color='#880000'>- SERP_ARGS(node).writearg.beginoffset = 0xdeadbeef;
</font><font color='#000088'>+ SERP_ARGS(node).writearg.beginoffset = UINT32_C(0xdeadbeef);
</font> if ( LIBIO_FLAGS_APPEND & iop->flags ) {
if ( updateAttr(node, 0) ) {
return -1;
<font color='#997700'>@@ -2711,7 +2711,7 @@
</font> } else {
SERP_ARGS(node).writearg.offset <span style="background-color: #FF0000"> </span> = iop->offset;
}
<font color='#880000'>- SERP_ARGS(node).writearg.totalcount = 0xdeadbeef;
</font><font color='#000088'>+ SERP_ARGS(node).writearg.totalcount = UINT32_C(0xdeadbeef);
</font> SERP_ARGS(node).writearg.data.data_len = count;
SERP_ARGS(node).writearg.data.data_val = (void*)buffer;
</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>2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_eval.c:
Use size_t instead of int for pathlen.
</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.2319&r2=text&tr2=1.2320&diff_format=h">M</a></td><td width='1%'>1.2320</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/devfs/devfs.h.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/libfs/src/devfs/devfs.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/devfs/devfs_eval.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>cpukit/libfs/src/devfs/devfs_eval.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2319 rtems/cpukit/ChangeLog:1.2320
--- rtems/cpukit/ChangeLog:1.2319 Thu May 27 11:17:43 2010
+++ rtems/cpukit/ChangeLog Thu May 27 11:20:44 2010
</font><font color='#997700'>@@ -1,5 +1,7 @@
</font> 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_eval.c:
+ Use size_t instead of int for pathlen.
</font> * libfs/src/nfsclient/src/nfs.c:<span style="background-color: #FF0000"> </span>
Use uint32_t instead of u_int_t for readarg and writearg.
<font color='#006600'>diff -u rtems/cpukit/libfs/src/devfs/devfs.h:1.5 rtems/cpukit/libfs/src/devfs/devfs.h:1.6
--- rtems/cpukit/libfs/src/devfs/devfs.h:1.5 Sun Nov 29 07:18:55 2009
+++ rtems/cpukit/libfs/src/devfs/devfs.h Thu May 27 11:20:44 2010
</font><font color='#997700'>@@ -195,7 +195,7 @@
</font>
extern int devFS_evaluate_path(
const char *pathname,
<font color='#880000'>- int pathnamelen,
</font><font color='#000088'>+ size_t pathnamelen,
</font> int flags,
rtems_filesystem_location_info_t *pathloc
);
<font color='#006600'>diff -u rtems/cpukit/libfs/src/devfs/devfs_eval.c:1.4 rtems/cpukit/libfs/src/devfs/devfs_eval.c:1.5
--- rtems/cpukit/libfs/src/devfs/devfs_eval.c:1.4 Tue Aug 25 08:45:30 2009
+++ rtems/cpukit/libfs/src/devfs/devfs_eval.c Thu May 27 11:20:44 2010
</font><font color='#997700'>@@ -17,7 +17,7 @@
</font>
int devFS_evaluate_path(
const char *pathname,
<font color='#880000'>- int pathnamelen,
</font><font color='#000088'>+ size_t pathnamelen,
</font> int flags,
rtems_filesystem_location_info_t *pathloc
)
</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_eval.c:
Use size_t instead of int for pathnamelen.
</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.2320&r2=text&tr2=1.2321&diff_format=h">M</a></td><td width='1%'>1.2321</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/dosfs/msdos.h.diff?r1=text&tr1=1.22&r2=text&tr2=1.23&diff_format=h">M</a></td><td width='1%'>1.23</td><td width='100%'>cpukit/libfs/src/dosfs/msdos.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/dosfs/msdos_eval.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%'>cpukit/libfs/src/dosfs/msdos_eval.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2320 rtems/cpukit/ChangeLog:1.2321
--- rtems/cpukit/ChangeLog:1.2320 Thu May 27 11:20:44 2010
+++ rtems/cpukit/ChangeLog Thu May 27 11:23:04 2010
</font><font color='#997700'>@@ -1,7 +1,9 @@
</font> 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_eval.c:
+ Use size_t instead of int for pathnamelen.
</font> * libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_eval.c:
<font color='#880000'>- Use size_t instead of int for pathlen.
</font><font color='#000088'>+ Use size_t instead of int for pathnamelen.
</font> * libfs/src/nfsclient/src/nfs.c:<span style="background-color: #FF0000"> </span>
Use uint32_t instead of u_int_t for readarg and writearg.
<font color='#006600'>diff -u rtems/cpukit/libfs/src/dosfs/msdos.h:1.22 rtems/cpukit/libfs/src/dosfs/msdos.h:1.23
--- rtems/cpukit/libfs/src/dosfs/msdos.h:1.22 Thu Mar 4 00:36:51 2010
+++ rtems/cpukit/libfs/src/dosfs/msdos.h Thu May 27 11:23:04 2010
</font><font color='#997700'>@@ -229,7 +229,7 @@
</font>
int msdos_eval_path(
const char *pathname, /* IN */
<font color='#880000'>- int pathnamelen, /* IN */
</font><font color='#000088'>+ size_t pathnamelen, /* IN */
</font> int flags, /* IN */
rtems_filesystem_location_info_t *pathloc /* IN/OUT */
);
<font color='#006600'>diff -u rtems/cpukit/libfs/src/dosfs/msdos_eval.c:1.11 rtems/cpukit/libfs/src/dosfs/msdos_eval.c:1.12
--- rtems/cpukit/libfs/src/dosfs/msdos_eval.c:1.11 Thu Mar 4 00:36:51 2010
+++ rtems/cpukit/libfs/src/dosfs/msdos_eval.c Thu May 27 11:23:04 2010
</font><font color='#997700'>@@ -72,7 +72,7 @@
</font> int
msdos_eval_path(
const char *pathname,
<font color='#880000'>- int pathnamelen,
</font><font color='#000088'>+ size_t pathnamelen,
</font> int flags,
rtems_filesystem_location_info_t *pathloc
)
</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c:
Use size_t instead of int for pathnamelen.
</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.2321&r2=text&tr2=1.2322&diff_format=h">M</a></td><td width='1%'>1.2322</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/imfs/imfs.h.diff?r1=text&tr1=1.39&r2=text&tr2=1.40&diff_format=h">M</a></td><td width='1%'>1.40</td><td width='100%'>cpukit/libfs/src/imfs/imfs.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/imfs/imfs_eval.c.diff?r1=text&tr1=1.24&r2=text&tr2=1.25&diff_format=h">M</a></td><td width='1%'>1.25</td><td width='100%'>cpukit/libfs/src/imfs/imfs_eval.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2321 rtems/cpukit/ChangeLog:1.2322
--- rtems/cpukit/ChangeLog:1.2321 Thu May 27 11:23:04 2010
+++ rtems/cpukit/ChangeLog Thu May 27 11:24:47 2010
</font><font color='#997700'>@@ -1,5 +1,7 @@
</font> 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c:
+ Use size_t instead of int for pathnamelen.
</font> * libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_eval.c:
Use size_t instead of int for pathnamelen.
* libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_eval.c:
<font color='#006600'>diff -u rtems/cpukit/libfs/src/imfs/imfs.h:1.39 rtems/cpukit/libfs/src/imfs/imfs.h:1.40
--- rtems/cpukit/libfs/src/imfs/imfs.h:1.39 Sat May 15 01:29:55 2010
+++ rtems/cpukit/libfs/src/imfs/imfs.h Thu May 27 11:24:47 2010
</font><font color='#997700'>@@ -324,7 +324,7 @@
</font>
extern int IMFS_eval_path(
const char *pathname, /* IN */
<font color='#880000'>- int pathnamelen, /* IN */
</font><font color='#000088'>+ size_t pathnamelen, /* IN */
</font> int flags, /* IN */
rtems_filesystem_location_info_t *pathloc /* IN/OUT */
);
<font color='#006600'>diff -u rtems/cpukit/libfs/src/imfs/imfs_eval.c:1.24 rtems/cpukit/libfs/src/imfs/imfs_eval.c:1.25
--- rtems/cpukit/libfs/src/imfs/imfs_eval.c:1.24 Sun Nov 29 07:18:56 2009
+++ rtems/cpukit/libfs/src/imfs/imfs_eval.c Thu May 27 11:24:47 2010
</font><font color='#997700'>@@ -487,7 +487,7 @@
</font>
int IMFS_eval_path(
const char *pathname, /* IN */
<font color='#880000'>- int pathnamelen, /* IN */
</font><font color='#000088'>+ size_t pathnamelen, /* IN */
</font> int flags, /* IN */
rtems_filesystem_location_info_t *pathloc /* IN/OUT */
)
</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio_.h, libcsupport/src/eval.c:
Use size_t instead of int for pathnamelen.
</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.2322&r2=text&tr2=1.2323&diff_format=h">M</a></td><td width='1%'>1.2323</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/include/rtems/libio_.h.diff?r1=text&tr1=1.32&r2=text&tr2=1.33&diff_format=h">M</a></td><td width='1%'>1.33</td><td width='100%'>cpukit/libcsupport/include/rtems/libio_.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/eval.c.diff?r1=text&tr1=1.15&r2=text&tr2=1.16&diff_format=h">M</a></td><td width='1%'>1.16</td><td width='100%'>cpukit/libcsupport/src/eval.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2322 rtems/cpukit/ChangeLog:1.2323
--- rtems/cpukit/ChangeLog:1.2322 Thu May 27 11:24:47 2010
+++ rtems/cpukit/ChangeLog Thu May 27 11:29:36 2010
</font><font color='#997700'>@@ -1,5 +1,7 @@
</font> 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * libcsupport/include/rtems/libio_.h, libcsupport/src/eval.c:
+ Use size_t instead of int for pathnamelen.
</font> * libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c:
Use size_t instead of int for pathnamelen.
* libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_eval.c:
<font color='#006600'>diff -u rtems/cpukit/libcsupport/include/rtems/libio_.h:1.32 rtems/cpukit/libcsupport/include/rtems/libio_.h:1.33
--- rtems/cpukit/libcsupport/include/rtems/libio_.h:1.32 Fri Apr 30 03:55:40 2010
+++ rtems/cpukit/libcsupport/include/rtems/libio_.h Thu May 27 11:29:37 2010
</font><font color='#997700'>@@ -246,7 +246,7 @@
</font>
int rtems_filesystem_evaluate_relative_path(
const char *pathname,
<font color='#880000'>- int pathnamelen,
</font><font color='#000088'>+ size_t pathnamelen,
</font> int flags,
rtems_filesystem_location_info_t *pathloc,
int follow_link
<font color='#997700'>@@ -254,7 +254,7 @@
</font>
int rtems_filesystem_evaluate_path(
const char *pathname,
<font color='#880000'>- int pathnamelen,
</font><font color='#000088'>+ size_t pathnamelen,
</font> int flags,
rtems_filesystem_location_info_t *pathloc,
int follow_link
<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/eval.c:1.15 rtems/cpukit/libcsupport/src/eval.c:1.16
--- rtems/cpukit/libcsupport/src/eval.c:1.15 Thu Jun 11 21:59:18 2009
+++ rtems/cpukit/libcsupport/src/eval.c Thu May 27 11:29:37 2010
</font><font color='#997700'>@@ -23,13 +23,12 @@
</font>
int rtems_filesystem_evaluate_relative_path(
const char *pathname,
<font color='#880000'>- int pathnamelen,
</font><font color='#000088'>+ size_t pathnamelen,
</font> int flags,
rtems_filesystem_location_info_t *pathloc,
int follow_link
)
{
<font color='#880000'>- //int i;
</font> int result;
rtems_filesystem_node_types_t type;
<font color='#997700'>@@ -93,7 +92,7 @@
</font>
int rtems_filesystem_evaluate_path(
const char *pathname,
<font color='#880000'>- int pathnamelen,
</font><font color='#000088'>+ size_t pathnamelen,
</font> int flags,
rtems_filesystem_location_info_t *pathloc,
int follow_link
</pre>
<p> </p>
<a name='cs6'></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>2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio.h:
Use size_t instead of int for pathnamelen.
</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.2323&r2=text&tr2=1.2324&diff_format=h">M</a></td><td width='1%'>1.2324</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/include/rtems/libio.h.diff?r1=text&tr1=1.60&r2=text&tr2=1.61&diff_format=h">M</a></td><td width='1%'>1.61</td><td width='100%'>cpukit/libcsupport/include/rtems/libio.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2323 rtems/cpukit/ChangeLog:1.2324
--- rtems/cpukit/ChangeLog:1.2323 Thu May 27 11:29:36 2010
+++ rtems/cpukit/ChangeLog Thu May 27 11:30:31 2010
</font><font color='#997700'>@@ -1,5 +1,7 @@
</font> 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * libcsupport/include/rtems/libio.h:
+ Use size_t instead of int for pathnamelen.
</font> * libcsupport/include/rtems/libio_.h, libcsupport/src/eval.c:
Use size_t instead of int for pathnamelen.
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c:
<font color='#006600'>diff -u rtems/cpukit/libcsupport/include/rtems/libio.h:1.60 rtems/cpukit/libcsupport/include/rtems/libio.h:1.61
--- rtems/cpukit/libcsupport/include/rtems/libio.h:1.60 Thu Mar 4 00:36:50 2010
+++ rtems/cpukit/libcsupport/include/rtems/libio.h Thu May 27 11:30:32 2010
</font><font color='#997700'>@@ -176,7 +176,7 @@
</font>
typedef int (*rtems_filesystem_evalpath_t)(
const char *pathname, /* IN */
<font color='#880000'>- int pathnamelen, /* IN */
</font><font color='#000088'>+ size_t pathnamelen, /* IN */
</font> int flags, /* IN */
rtems_filesystem_location_info_t *pathloc /* IN/OUT */
);
</pre>
<p> </p>
<a name='cs7'></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>2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-rtems.c:
Use size_t instead of int for pathlen.
Use %zi to print pathlen.
</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.2324&r2=text&tr2=1.2325&diff_format=h">M</a></td><td width='1%'>1.2325</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>cpukit/libfs/src/rfs/rtems-rfs-rtems.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2324 rtems/cpukit/ChangeLog:1.2325
--- rtems/cpukit/ChangeLog:1.2324 Thu May 27 11:30:31 2010
+++ rtems/cpukit/ChangeLog Thu May 27 11:32:45 2010
</font><font color='#997700'>@@ -1,5 +1,8 @@
</font> 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * libfs/src/rfs/rtems-rfs-rtems.c:
+ Use size_t instead of int for pathlen.
+ Use %zi to print pathlen.
</font> * libcsupport/include/rtems/libio.h:
Use size_t instead of int for pathnamelen.
* libcsupport/include/rtems/libio_.h, libcsupport/src/eval.c:
<font color='#006600'>diff -u rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems.c:1.6 rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems.c:1.7
--- rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems.c:1.6 Mon Apr 12 00:29:25 2010
+++ rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems.c Thu May 27 11:32:46 2010
</font><font color='#997700'>@@ -58,7 +58,7 @@
</font> */
int
rtems_rfs_rtems_eval_path (const char* path,
<font color='#880000'>- int pathlen,
</font><font color='#000088'>+ size_t pathlen,
</font> int flags,
rtems_filesystem_location_info_t* pathloc)
{
<font color='#997700'>@@ -72,7 +72,7 @@
</font> int rc;
if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))
<font color='#880000'>- printf ("rtems-rfs-rtems: eval-path: in: path:%s pathlen:%i ino:%ld\n",
</font><font color='#000088'>+ printf ("rtems-rfs-rtems: eval-path: in: path:%s pathlen:%zi ino:%ld\n",
</font> path, pathlen, ino);
/*
</pre>
<p> </p>
<a name='cs8'></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>2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c:
Use size_t instead of int for pathnamelen.
</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.2325&r2=text&tr2=1.2326&diff_format=h">M</a></td><td width='1%'>1.2326</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/lib/ftpfs.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/libnetworking/lib/ftpfs.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libnetworking/lib/tftpDriver.c.diff?r1=text&tr1=1.36&r2=text&tr2=1.37&diff_format=h">M</a></td><td width='1%'>1.37</td><td width='100%'>cpukit/libnetworking/lib/tftpDriver.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2325 rtems/cpukit/ChangeLog:1.2326
--- rtems/cpukit/ChangeLog:1.2325 Thu May 27 11:32:45 2010
+++ rtems/cpukit/ChangeLog Thu May 27 11:36:01 2010
</font><font color='#997700'>@@ -1,5 +1,7 @@
</font> 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c:
+ Use size_t instead of int for pathnamelen.
</font> * libfs/src/rfs/rtems-rfs-rtems.c:
Use size_t instead of int for pathlen.
Use %zi to print pathlen.
<font color='#006600'>diff -u rtems/cpukit/libnetworking/lib/ftpfs.c:1.27 rtems/cpukit/libnetworking/lib/ftpfs.c:1.28
--- rtems/cpukit/libnetworking/lib/ftpfs.c:1.27 Fri Apr 30 03:52:29 2010
+++ rtems/cpukit/libnetworking/lib/ftpfs.c Thu May 27 11:36:02 2010
</font><font color='#997700'>@@ -1196,7 +1196,7 @@
</font>
static int rtems_ftpfs_eval_path(
const char *pathname,
<font color='#880000'>- int pathnamelen,
</font><font color='#000088'>+ size_t pathnamelen,
</font> int flags,
rtems_filesystem_location_info_t *pathloc
)
<font color='#006600'>diff -u rtems/cpukit/libnetworking/lib/tftpDriver.c:1.36 rtems/cpukit/libnetworking/lib/tftpDriver.c:1.37
--- rtems/cpukit/libnetworking/lib/tftpDriver.c:1.36 Sun Mar 28 00:44:42 2010
+++ rtems/cpukit/libnetworking/lib/tftpDriver.c Thu May 27 11:36:02 2010
</font><font color='#997700'>@@ -488,7 +488,7 @@
</font>
static int rtems_tftp_eval_path(
const char *pathname, /* IN */
<font color='#880000'>- int pathnamelen, /* IN */<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ size_t pathnamelen, /* IN */<span style="background-color: #FF0000"> </span>
</font> int flags, /* IN */
rtems_filesystem_location_info_t *pathloc /* IN/OUT */
)
</pre>
<p> </p>
<a name='cs9'></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>2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/rtems_mii_ioctl.h,
libnetworking/rtems/rtems_mii_ioctl_kern.c:
Use uint32_t instead of int as ioctl cmd arg.
</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.2326&r2=text&tr2=1.2327&diff_format=h">M</a></td><td width='1%'>1.2327</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/rtems/rtems_mii_ioctl.h.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>cpukit/libnetworking/rtems/rtems_mii_ioctl.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c.diff?r1=text&tr1=1.9&r2=text&tr2=1.10&diff_format=h">M</a></td><td width='1%'>1.10</td><td width='100%'>cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2326 rtems/cpukit/ChangeLog:1.2327
--- rtems/cpukit/ChangeLog:1.2326 Thu May 27 11:36:01 2010
+++ rtems/cpukit/ChangeLog Thu May 27 11:38:50 2010
</font><font color='#997700'>@@ -1,5 +1,11 @@
</font> 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * libnetworking/rtems/rtems_mii_ioctl.h,<span style="background-color: #FF0000"> </span>
+ libnetworking/rtems/rtems_mii_ioctl_kern.c:
+ Use uint32_t instead of int as ioctl cmd arg.
+
+2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
+
</font> * libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c:
Use size_t instead of int for pathnamelen.
* libfs/src/rfs/rtems-rfs-rtems.c:
<font color='#006600'>diff -u rtems/cpukit/libnetworking/rtems/rtems_mii_ioctl.h:1.7 rtems/cpukit/libnetworking/rtems/rtems_mii_ioctl.h:1.8
--- rtems/cpukit/libnetworking/rtems/rtems_mii_ioctl.h:1.7 Mon Nov 30 09:57:51 2009
+++ rtems/cpukit/libnetworking/rtems/rtems_mii_ioctl.h Thu May 27 11:38:51 2010
</font><font color='#997700'>@@ -92,7 +92,7 @@
</font> *
*/
int
<font color='#880000'>-rtems_mii_ioctl (struct rtems_mdio_info *info, void *uarg, int cmd,
</font><font color='#000088'>+rtems_mii_ioctl (struct rtems_mdio_info *info, void *uarg, uint32_t cmd,
</font> int *media);
#endif
<font color='#006600'>diff -u rtems/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c:1.9 rtems/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c:1.10
--- rtems/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c:1.9 Mon Nov 30 09:57:51 2009
+++ rtems/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c Thu May 27 11:38:51 2010
</font><font color='#997700'>@@ -84,12 +84,12 @@
</font> #endif
int
<font color='#880000'>-rtems_mii_ioctl (struct rtems_mdio_info *info, void *uarg, int cmd,
</font><font color='#000088'>+rtems_mii_ioctl (struct rtems_mdio_info *info, void *uarg, uint32_t cmd,
</font> int *media)
{
uint32_t bmcr, bmsr, aner, bmcr2 = 0, bmsr2 = 0, anar, lpar;
int phy = IFM_INST (*media);
<font color='#880000'>- unsigned tmp;
</font><font color='#000088'>+ uint32_t tmp;
</font> int subtype = 0, options = 0;
switch (cmd) {
</pre>
<p> </p>
<a name='cs10'></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>2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/raw_ip.c,
libnetworking/netinet/udp_usrreq.c:
Cast mbufs to uintptr_t instead of u_long.
</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.2327&r2=text&tr2=1.2328&diff_format=h">M</a></td><td width='1%'>1.2328</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/raw_ip.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%'>cpukit/libnetworking/netinet/raw_ip.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libnetworking/netinet/udp_usrreq.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/libnetworking/netinet/udp_usrreq.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2327 rtems/cpukit/ChangeLog:1.2328
--- rtems/cpukit/ChangeLog:1.2327 Thu May 27 11:38:50 2010
+++ rtems/cpukit/ChangeLog Thu May 27 11:45:14 2010
</font><font color='#997700'>@@ -1,5 +1,8 @@
</font> 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * libnetworking/netinet/raw_ip.c,
+ libnetworking/netinet/udp_usrreq.c:
+ Cast mbufs to uintptr_t instead of u_long.
</font> * libnetworking/rtems/rtems_mii_ioctl.h,<span style="background-color: #FF0000"> </span>
libnetworking/rtems/rtems_mii_ioctl_kern.c:
Use uint32_t instead of int as ioctl cmd arg.
<font color='#006600'>diff -u rtems/cpukit/libnetworking/netinet/raw_ip.c:1.8 rtems/cpukit/libnetworking/netinet/raw_ip.c:1.9
--- rtems/cpukit/libnetworking/netinet/raw_ip.c:1.8 Sun Mar 28 00:47:49 2010
+++ rtems/cpukit/libnetworking/netinet/raw_ip.c Thu May 27 11:45:14 2010
</font><font color='#997700'>@@ -336,7 +336,7 @@
</font> int s;
if (req == PRU_CONTROL)
<font color='#880000'>- return (in_control(so, (u_long)m, (caddr_t)nam,
</font><font color='#000088'>+ return (in_control(so, (uintptr_t)m, (caddr_t)nam,
</font> (struct ifnet *)control));
switch (req) {
<font color='#006600'>diff -u rtems/cpukit/libnetworking/netinet/udp_usrreq.c:1.16 rtems/cpukit/libnetworking/netinet/udp_usrreq.c:1.17
--- rtems/cpukit/libnetworking/netinet/udp_usrreq.c:1.16 Sun Mar 28 00:47:49 2010
+++ rtems/cpukit/libnetworking/netinet/udp_usrreq.c Thu May 27 11:45:15 2010
</font><font color='#997700'>@@ -594,7 +594,7 @@
</font> int s;
if (req == PRU_CONTROL)
<font color='#880000'>- return (in_control(so, (u_long)m, (caddr_t)addr,
</font><font color='#000088'>+ return (in_control(so, (uintptr_t)m, (caddr_t)addr,
</font> (struct ifnet *)control));
if (inp == NULL && req != PRU_ATTACH) {
error = EINVAL;
</pre>
<p> </p>
<a name='cs11'></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>2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/xdr_mbuf.c:
Use void* arithmetic instead of u_long arithmetic.
</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.2328&r2=text&tr2=1.2329&diff_format=h">M</a></td><td width='1%'>1.2329</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>cpukit/libfs/src/nfsclient/src/xdr_mbuf.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2328 rtems/cpukit/ChangeLog:1.2329
--- rtems/cpukit/ChangeLog:1.2328 Thu May 27 11:45:14 2010
+++ rtems/cpukit/ChangeLog Thu May 27 11:47:06 2010
</font><font color='#997700'>@@ -1,5 +1,7 @@
</font> 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * libfs/src/nfsclient/src/xdr_mbuf.c:
+ Use void* arithmetic instead of u_long arithmetic.
</font> * libnetworking/netinet/raw_ip.c,
libnetworking/netinet/udp_usrreq.c:
Cast mbufs to uintptr_t instead of u_long.
<font color='#006600'>diff -u rtems/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c:1.6 rtems/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c:1.7
--- rtems/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c:1.6 Fri Mar 26 23:04:39 2010
+++ rtems/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c Thu May 27 11:47:06 2010
</font><font color='#997700'>@@ -455,7 +455,7 @@
</font> u_int rval = mbp->pos;
if (m) {
<font color='#880000'>- rval += (u_long)xdrs->x_private - mtod(m, u_long);
</font><font color='#000088'>+ rval += xdrs->x_private - mtod(m, void*);
</font> }
#else
struct mbuf *m;
</pre>
<p> </p>
<a name='cs12'></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>2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/gethostnamadr.c:
Try to make crazy address arithmetic more portable.
</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.2329&r2=text&tr2=1.2330&diff_format=h">M</a></td><td width='1%'>1.2330</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/libc/gethostnamadr.c.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%'>cpukit/libnetworking/libc/gethostnamadr.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2329 rtems/cpukit/ChangeLog:1.2330
--- rtems/cpukit/ChangeLog:1.2329 Thu May 27 11:47:06 2010
+++ rtems/cpukit/ChangeLog Thu May 27 11:50:01 2010
</font><font color='#997700'>@@ -1,5 +1,7 @@
</font> 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * libnetworking/libc/gethostnamadr.c:
+ Try to make crazy address arithmetic more portable.
</font> * libfs/src/nfsclient/src/xdr_mbuf.c:
Use void* arithmetic instead of u_long arithmetic.
* libnetworking/netinet/raw_ip.c,
<font color='#006600'>diff -u rtems/cpukit/libnetworking/libc/gethostnamadr.c:1.13 rtems/cpukit/libnetworking/libc/gethostnamadr.c:1.14
--- rtems/cpukit/libnetworking/libc/gethostnamadr.c:1.13 Fri Mar 26 23:00:52 2010
+++ rtems/cpukit/libnetworking/libc/gethostnamadr.c Thu May 27 11:50:01 2010
</font><font color='#997700'>@@ -381,7 +381,7 @@
</font> strcpy(buf,name);
result->h_addr_list=(char**)(buf+strlen(name)+1);
<font color='#880000'>- result->h_addr_list+=sizeof(unsigned long)-((unsigned long)(result->h_addr_list)&(sizeof(unsigned long)-1));
</font><font color='#000088'>+ result->h_addr_list+=sizeof(char*)-((size_t)(result->h_addr_list)&(sizeof(char*)-1));
</font> result->h_addr_list[0]=(char*)&result->h_addr_list[2];
if (inet_pton(AF_INET,name,result->h_addr_list[0])) {
result->h_addrtype=AF_INET;
</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>