<!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: Introduce union nfs_evalpath_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.2317&r2=text&tr2=1.2318&diff_format=h">M</a></td><td width='1%'>1.2318</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.18&r2=text&tr2=1.19&diff_format=h">M</a></td><td width='1%'>1.19</td><td width='100%'>cpukit/libfs/src/nfsclient/src/nfs.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2317 rtems/cpukit/ChangeLog:1.2318
--- rtems/cpukit/ChangeLog:1.2317 Thu May 27 07:39:33 2010
+++ rtems/cpukit/ChangeLog Thu May 27 09:20:09 2010
</font><font color='#997700'>@@ -1,5 +1,9 @@
</font> 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * libfs/src/nfsclient/src/nfs.c: Introduce union nfs_evalpath_arg.
+
+2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
+
</font> * librpc/src/rpc/clnt_tcp.c, librpc/src/rpc/clnt_udp.c:
Revert to using u_long instead of rpcprog_t, rpcvers_t<span style="background-color: #FF0000"> </span>
to stay bug-ward compatible to freebsd.
<font color='#006600'>diff -u rtems/cpukit/libfs/src/nfsclient/src/nfs.c:1.18 rtems/cpukit/libfs/src/nfsclient/src/nfs.c:1.19
--- rtems/cpukit/libfs/src/nfsclient/src/nfs.c:1.18 Thu May 27 04:42:14 2010
+++ rtems/cpukit/libfs/src/nfsclient/src/nfs.c Thu May 27 09:20:10 2010
</font><font color='#997700'>@@ -1353,10 +1353,15 @@
</font> *
*/
<font color='#000088'>+union nfs_evalpath_arg {
+ int i;
+ const char **c;
+ };
+
</font> STATIC int nfs_do_evalpath(
const char *pathname, /* IN */
int pathnamelen, /* IN */
<font color='#880000'>- void *arg,
</font><font color='#000088'>+ union nfs_evalpath_arg *arg,
</font> rtems_filesystem_location_info_t *pathloc, /* IN/OUT */
int forMake
)
<font color='#997700'>@@ -1510,9 +1515,9 @@
</font> #endif
if (forMake)
<font color='#880000'>- rval = pathloc->ops->evalformake_h(part, pathloc, (const char**)arg);
</font><font color='#000088'>+ rval = pathloc->ops->evalformake_h(part, pathloc, arg->c);
</font> else
<font color='#880000'>- rval = pathloc->ops->evalpath_h(part, strlen(part), (int)arg, pathloc);
</font><font color='#000088'>+ rval = pathloc->ops->evalpath_h(part, strlen(part), arg->i, pathloc);
</font>
free(p);
return rval;
<font color='#997700'>@@ -1669,17 +1674,22 @@
</font> const char **pname /* OUT */
)
{
<font color='#880000'>- return nfs_do_evalpath(path, strlen(path), (void*)pname, pathloc, 1 /*forMake*/);
</font><font color='#000088'>+ union nfs_evalpath_arg args;
+ args.c = pname;
+<span style="background-color: #FF0000"> </span>
+ return nfs_do_evalpath(path, strlen(path), &args, pathloc, 1 /*forMake*/);
</font> }
static int nfs_evalpath(
const char *path, /* IN */
<font color='#880000'>- int pathlen, /* IN */
- int flags, /* IN */
</font><font color='#000088'>+ size_t pathlen, /* IN */
+ int flags, /* IN */
</font> rtems_filesystem_location_info_t *pathloc /* IN/OUT */
)
{
<font color='#880000'>- return nfs_do_evalpath(path, pathlen, (void*)flags, pathloc, 0 /*not forMake*/);
</font><font color='#000088'>+ union nfs_evalpath_arg args;
+ args.i = flags;
+ return nfs_do_evalpath(path, pathlen, &args, pathloc, 0 /*not forMake*/);
</font> }
</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>