change log for rtems (2010-07-27)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Jul 27 18:11:12 UTC 2010


 *joel*:
2010-07-27	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* posix/src/sigsuspend.c: Do not assert unless RTEMS_DEBUG is defined.

M 1.2530  cpukit/ChangeLog
M    1.7  cpukit/posix/src/sigsuspend.c

diff -u rtems/cpukit/ChangeLog:1.2529 rtems/cpukit/ChangeLog:1.2530
--- rtems/cpukit/ChangeLog:1.2529	Tue Jul 27 11:38:15 2010
+++ rtems/cpukit/ChangeLog	Tue Jul 27 12:37:54 2010
@@ -1,3 +1,7 @@
+2010-07-27	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* posix/src/sigsuspend.c: Do not assert unless RTEMS_DEBUG is defined.
+
 2010-07-27	Vinu Rajashekhar <vinutheraj at gmail.com>
 
 	PR 1629/cpukit

diff -u rtems/cpukit/posix/src/sigsuspend.c:1.6 rtems/cpukit/posix/src/sigsuspend.c:1.7
--- rtems/cpukit/posix/src/sigsuspend.c:1.6	Tue Jul 27 11:38:15 2010
+++ rtems/cpukit/posix/src/sigsuspend.c	Tue Jul 27 12:37:54 2010
@@ -51,7 +51,9 @@
    * sigtimedwait() returns the signal number while sigsuspend()
    * is supposed to return -1 and EINTR when a signal is caught.
    */
-  assert ( status != -1 );
+  #if defined(RTEMS_DEBUG)
+    assert( status != -1 );
+  #endif
 
   rtems_set_errno_and_return_minus_one( EINTR );
 }



--

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/20100727/03140949/attachment.html>


More information about the vc mailing list