<!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-10-18)</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>ccj</strong></font>
<font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-19 Chris Johns <chrisj@rtems.org>
* libfs/src/rfs/rtems-rfs-rtems-file.c: Add missing unlock in
write. Return the error code in close.
</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.2634&r2=text&tr2=1.2635&diff_format=h">M</a></td><td width='1%'>1.2635</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.70&r2=text&tr2=1.2346.2.71&diff_format=h">M</a></td><td width='1%'>1.2346.2.71</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-file.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/libfs/src/rfs/rtems-rfs-rtems-file.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c.diff?r1=text&tr1=1.4.2.1&r2=text&tr2=1.4.2.2&diff_format=h">M</a></td><td width='1%'>1.4.2.2</td><td width='100%'>cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2634 rtems/cpukit/ChangeLog:1.2635
--- rtems/cpukit/ChangeLog:1.2634 Sun Oct 10 23:34:48 2010
+++ rtems/cpukit/ChangeLog Mon Oct 18 17:39:32 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-10-19 Chris Johns <chrisj@rtems.org>
+
+ * libfs/src/rfs/rtems-rfs-rtems-file.c: Add missing unlock in
+ write. Return the error code in close.
+
</font> 2010-10-11 Chris Johns <chrisj@rtems.org>
* libfs/src/rfs/rtems-rfs-trace.c,
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2346.2.70 rtems/cpukit/ChangeLog:1.2346.2.71
--- rtems/cpukit/ChangeLog:1.2346.2.70 Sun Oct 10 23:40:07 2010
+++ rtems/cpukit/ChangeLog Mon Oct 18 17:48:54 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-10-19 Chris Johns <chrisj@rtems.org>
+
+ * libfs/src/rfs/rtems-rfs-rtems-file.c: Add missing unlock in
+ write. Return the error code in close.
+
</font> 2010-10-11 Chris Johns <chrisj@rtems.org>
* libfs/src/rfs/rtems-rfs-trace.c,
<font color='#006600'>diff -u rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c:1.8 rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c:1.9
--- rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c:1.8 Wed Aug 25 04:37:49 2010
+++ rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c Mon Oct 18 17:39:35 2010
</font><font color='#997700'>@@ -100,7 +100,7 @@
</font> rc = rtems_rfs_rtems_error ("file-close: file close", rc);
rtems_rfs_rtems_unlock (fs);
<font color='#880000'>- return 0;
</font><font color='#000088'>+ return rc;
</font> }
/**
<font color='#997700'>@@ -203,7 +203,10 @@
</font> {
rc = rtems_rfs_file_set_size (file, pos);
if (rc)
<font color='#000088'>+ {
+ rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));
</font> return rtems_rfs_rtems_error ("file-write: write extend", rc);
<font color='#000088'>+ }
</font> rtems_rfs_file_set_bpos (file, pos);
}
<font color='#006600'>diff -u rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c:1.4.2.1 rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c:1.4.2.2
--- rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c:1.4.2.1 Wed Jun 16 22:35:30 2010
+++ rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c Mon Oct 18 17:48:55 2010
</font><font color='#997700'>@@ -100,7 +100,7 @@
</font> rc = rtems_rfs_rtems_error ("file-close: file close", rc);
rtems_rfs_rtems_unlock (fs);
<font color='#880000'>- return 0;
</font><font color='#000088'>+ return rc;
</font> }
/**
<font color='#997700'>@@ -203,7 +203,10 @@
</font> {
rc = rtems_rfs_file_set_size (file, pos);
if (rc)
<font color='#000088'>+ {
+ rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));
</font> return rtems_rfs_rtems_error ("file-write: write extend", rc);
<font color='#000088'>+ }
</font> rtems_rfs_file_set_bpos (file, pos);
}
</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>