change log for rtems (2010-05-19)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu May 20 04:11:01 UTC 2010


 *ccj*:
2010-05-20      Bharath Suri <bharath.s.jois at gmail.com>

        * libcsupport/src/_rename_r.c: Avoid overwriting of errno by
        _rename_r to invalid values.

M 1.2296  cpukit/ChangeLog
M    1.6  cpukit/libcsupport/src/_rename_r.c

diff -u rtems/cpukit/ChangeLog:1.2295 rtems/cpukit/ChangeLog:1.2296
--- rtems/cpukit/ChangeLog:1.2295	Mon May 17 21:14:05 2010
+++ rtems/cpukit/ChangeLog	Wed May 19 22:10:38 2010
@@ -1,3 +1,8 @@
+2010-05-20	Bharath Suri <bharath.s.jois at gmail.com>
+
+	* libcsupport/src/_rename_r.c: Avoid overwriting of errno by
+	_rename_r to invalid values.
+
 2010-05-18	Chris Johns <chrisj at rtems.org>
 
 	* libblock/src/diskdevs.c, libblock/include/rtems/blkdev.h,

diff -u rtems/cpukit/libcsupport/src/_rename_r.c:1.5 rtems/cpukit/libcsupport/src/_rename_r.c:1.6
--- rtems/cpukit/libcsupport/src/_rename_r.c:1.5	Thu Mar  4 00:36:50 2010
+++ rtems/cpukit/libcsupport/src/_rename_r.c	Wed May 19 22:10:41 2010
@@ -70,7 +70,7 @@
   if ( result != 0 ) {
     if ( free_old_parentloc )
       rtems_filesystem_freenode( &old_parent_loc );
-    rtems_set_errno_and_return_minus_one( result );
+    return -1;
   }
   
   /*
@@ -92,7 +92,7 @@
     if ( free_old_parentloc )
       rtems_filesystem_freenode( &old_parent_loc );
     rtems_filesystem_freenode( &old_loc );
-    rtems_set_errno_and_return_minus_one( result );
+    return -1;
   }
 
   /*



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100519/45b96dc5/attachment.html>


More information about the vc mailing list