change log for rtems (2010-07-09)
rtems-vc at rtems.org
rtems-vc at rtems.org
Fri Jul 9 19:13:27 UTC 2010
*joel*:
2010-07-09 Bharath Suri <bharath.s.jois at gmail.com>
* libfs/src/pipe/pipe.c: Check for err before setting the errno
and returning -1 to the caller.
M 1.2496 cpukit/ChangeLog
M 1.7 cpukit/libfs/src/pipe/pipe.c
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
@@ -1,3 +1,8 @@
+2010-07-09 Bharath Suri <bharath.s.jois at gmail.com>
+
+ * libfs/src/pipe/pipe.c: Check for err before setting the errno
+ and returning -1 to the caller.
+
2010-07-08 Joel Sherrill <joel.sherrill at oarcorp.com>
* libcsupport/src/malloc_initialize.c: Clean up sbrk path now that a
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
@@ -72,7 +72,8 @@
}
unlink(fifopath);
}
-
- rtems_set_errno_and_return_minus_one(err);
+ if(err != 0)
+ rtems_set_errno_and_return_minus_one(err);
+ return 0;
}
--
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/20100709/231fc976/attachment.html>
More information about the vc
mailing list