<!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-07-09)</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>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-07-09 Bharath Suri <bharath.s.jois@gmail.com>

        * libfs/src/pipe/pipe.c: Check for err before setting the errno
        and returning -1 to the caller.
</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.2495&r2=text&tr2=1.2496&diff_format=h">M</a></td><td width='1%'>1.2496</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/pipe/pipe.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/pipe/pipe.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2495 rtems/cpukit/ChangeLog:1.2496
--- rtems/cpukit/ChangeLog:1.2495       Thu Jul  8 15:09:56 2010
+++ rtems/cpukit/ChangeLog      Fri Jul  9 13:39:35 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-07-09    Bharath Suri <bharath.s.jois@gmail.com>
+
+       * libfs/src/pipe/pipe.c: Check for err before setting the errno
+       and returning -1 to the caller.
+
</font> 2010-07-08        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        * libcsupport/src/malloc_initialize.c: Clean up sbrk path now that a

<font color='#006600'>diff -u rtems/cpukit/libfs/src/pipe/pipe.c:1.6 rtems/cpukit/libfs/src/pipe/pipe.c:1.7
--- rtems/cpukit/libfs/src/pipe/pipe.c:1.6      Tue Jun  8 07:59:51 2010
+++ rtems/cpukit/libfs/src/pipe/pipe.c  Fri Jul  9 13:39:36 2010
</font><font color='#997700'>@@ -72,7 +72,8 @@
</font>     }
   unlink(fifopath);
   }
<font color='#880000'>-
-  rtems_set_errno_and_return_minus_one(err);
</font><font color='#000088'>+  if(err != 0)
+    rtems_set_errno_and_return_minus_one(err);
+  return 0;
</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>