<!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-08)</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-08 Ralf Corsépius <ralf.corsepius@rtems.org>

        * psx07/init.c: Add HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE guard around
        guardsize.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/ChangeLog.diff?r1=text&tr1=1.319&r2=text&tr2=1.320&diff_format=h">M</a></td><td width='1%'>1.320</td><td width='100%'>testsuites/psxtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psx07/init.c.diff?r1=text&tr1=1.34&r2=text&tr2=1.35&diff_format=h">M</a></td><td width='1%'>1.35</td><td width='100%'>testsuites/psxtests/psx07/init.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.319 rtems/testsuites/psxtests/ChangeLog:1.320
--- rtems/testsuites/psxtests/ChangeLog:1.319   Mon Oct  4 11:09:44 2010
+++ rtems/testsuites/psxtests/ChangeLog Fri Oct  8 04:39:35 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-10-08    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * psx07/init.c: Add HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE guard around
+       guardsize.
+
</font> 2010-10-04        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        * psxhdrs/pthread37.c, psxhdrs/pthread38.c, psxhdrs/pthread39.c,

<font color='#006600'>diff -u rtems/testsuites/psxtests/psx07/init.c:1.34 rtems/testsuites/psxtests/psx07/init.c:1.35
--- rtems/testsuites/psxtests/psx07/init.c:1.34 Mon Oct  4 10:53:45 2010
+++ rtems/testsuites/psxtests/psx07/init.c      Fri Oct  8 04:39:35 2010
</font><font color='#997700'>@@ -63,7 +63,9 @@
</font>   int                 inheritsched;
   int                 schedpolicy;
   size_t              stacksize;
<font color='#000088'>+#if HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE
</font>   size_t              guardsize;
<font color='#000088'>+#endif
</font>   void               *stackaddr;
   int                 detachstate;
   struct sched_param  schedparam;
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-08 Ralf Corsépius <ralf.corsepius@rtems.org>

        * aclocal/check-func.m4: Linearize checks.
        Add missing $2 to AC_CHECK_DECL.
</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.2631&r2=text&tr2=1.2632&diff_format=h">M</a></td><td width='1%'>1.2632</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/aclocal/check-func.m4.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>cpukit/aclocal/check-func.m4</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2631 rtems/cpukit/ChangeLog:1.2632
--- rtems/cpukit/ChangeLog:1.2631       Mon Oct  4 12:45:32 2010
+++ rtems/cpukit/ChangeLog      Fri Oct  8 04:42:10 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-10-08    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * aclocal/check-func.m4: Linearize checks.
+       Add missing $2 to AC_CHECK_DECL.
+
</font> 2010-10-04        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        * Makefile.am, configure.ac: Revert accident commit adding libdbm to

<font color='#006600'>diff -u rtems/cpukit/aclocal/check-func.m4:1.1 rtems/cpukit/aclocal/check-func.m4:1.2
--- rtems/cpukit/aclocal/check-func.m4:1.1      Tue Aug  3 10:42:44 2010
+++ rtems/cpukit/aclocal/check-func.m4  Fri Oct  8 04:42:11 2010
</font><font color='#997700'>@@ -6,17 +6,16 @@
</font> # RTEMS_CHECK_FUNC(FUNCTION[,INCLUDES])
 AC_DEFUN([RTEMS_CHECK_FUNC],
 [AC_REQUIRE([RTEMS_CHECK_NEWLIB])
<font color='#880000'>-AC_CHECK_DECLS([$1],
-[
-  AC_CACHE_CHECK([for $1],[ac_cv_$1],[
-    AC_LINK_IFELSE(
-      [AC_LANG_PROGRAM([[$2]],[[rtems_stub_$1()]])],
-      [ac_cv_$1="stub"],
-      [AC_LINK_IFELSE(
-        [AC_LANG_PROGRAM([[$2]],[[$1()]])],
-        [ac_cv_$1="yes"],
-        [ac_cv_$1="no"])
-      ])
</font><font color='#000088'>+AC_CHECK_DECLS([$1],,,[$2])
+
+AC_CACHE_CHECK([for $1],[ac_cv_$1],[
+  AC_LINK_IFELSE(
+    [AC_LANG_PROGRAM([[$2]],[[rtems_stub_$1()]])],
+    [ac_cv_$1="stub"],
+    [AC_LINK_IFELSE(
+      [AC_LANG_PROGRAM([[$2]],[[$1()]])],
+      [ac_cv_$1="yes"],
+      [ac_cv_$1="no"])
</font>     ])
   ])
 AS_IF([test "$ac_cv_$1" = yes],
</pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-08 Ralf Corsépius <ralf.corsepius@rtems.org>

        * configure.ac: pthread_attr* functions are in <pthread.h>, not in
        <pthreads.h>.
</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.2632&r2=text&tr2=1.2633&diff_format=h">M</a></td><td width='1%'>1.2633</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/configure.ac.diff?r1=text&tr1=1.194&r2=text&tr2=1.195&diff_format=h">M</a></td><td width='1%'>1.195</td><td width='100%'>cpukit/configure.ac</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2632 rtems/cpukit/ChangeLog:1.2633
--- rtems/cpukit/ChangeLog:1.2632       Fri Oct  8 04:42:10 2010
+++ rtems/cpukit/ChangeLog      Fri Oct  8 04:44:44 2010
</font><font color='#997700'>@@ -1,5 +1,7 @@
</font> 2010-10-08        Ralf Corsépius <ralf.corsepius@rtems.org>
 
<font color='#000088'>+   * configure.ac: pthread_attr* functions are in <pthread.h>, not in
+       <pthreads.h>.
</font>   * aclocal/check-func.m4: Linearize checks.
        Add missing $2 to AC_CHECK_DECL.
 

<font color='#006600'>diff -u rtems/cpukit/configure.ac:1.194 rtems/cpukit/configure.ac:1.195
--- rtems/cpukit/configure.ac:1.194     Mon Oct  4 12:45:32 2010
+++ rtems/cpukit/configure.ac   Fri Oct  8 04:44:44 2010
</font><font color='#997700'>@@ -79,10 +79,10 @@
</font> RTEMS_CHECK_FUNC([getpgrp],[#include <unistd.h>])
 
 # pthread-functions not declared in some versions of newlib.
<font color='#880000'>-RTEMS_CHECK_FUNC([pthread_attr_getguardsize],[#include <pthreads.h>])
-RTEMS_CHECK_FUNC([pthread_attr_setguardsize],[#include <pthreads.h>])
-RTEMS_CHECK_FUNC([pthread_attr_setstack],[#include <pthreads.h>])
-RTEMS_CHECK_FUNC([pthread_attr_getstack],[#include <pthreads.h>])
</font><font color='#000088'>+RTEMS_CHECK_FUNC([pthread_attr_getguardsize],[#include <pthread.h>])
+RTEMS_CHECK_FUNC([pthread_attr_setguardsize],[#include <pthread.h>])
+RTEMS_CHECK_FUNC([pthread_attr_setstack],[#include <pthread.h>])
+RTEMS_CHECK_FUNC([pthread_attr_getstack],[#include <pthread.h>])
</font> 
 # Newlib's unix/ directory
 AC_CHECK_FUNCS([ttyname getcwd])
</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>