<!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 (2011-10-13)</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>2011-10-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for size of mode_t.
* psxfile01/test.c, psxstat/test.c: Include "primode.h".
Use PRIomode_t to print mode_t.
</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.361&r2=text&tr2=1.362&diff_format=h">M</a></td><td width='1%'>1.362</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/configure.ac.diff?r1=text&tr1=1.86&r2=text&tr2=1.87&diff_format=h">M</a></td><td width='1%'>1.87</td><td width='100%'>testsuites/psxtests/configure.ac</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxfile01/test.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/psxfile01/test.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxstat/test.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/psxstat/test.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.361 rtems/testsuites/psxtests/ChangeLog:1.362
--- rtems/testsuites/psxtests/ChangeLog:1.361 Wed Oct 12 04:11:46 2011
+++ rtems/testsuites/psxtests/ChangeLog Thu Oct 13 08:44:40 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-10-13 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * configure.ac: Check for size of mode_t.
+ * psxfile01/test.c, psxstat/test.c: Include "primode.h".
+ Use PRIomode_t to print mode_t.
+
</font> 2011-10-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
* psxaio01/system.h, psxaio02/system.h, psxaio03/system.h: Do not use
<font color='#006600'>diff -u rtems/testsuites/psxtests/configure.ac:1.86 rtems/testsuites/psxtests/configure.ac:1.87
--- rtems/testsuites/psxtests/configure.ac:1.86 Thu Sep 29 20:54:51 2011
+++ rtems/testsuites/psxtests/configure.ac Thu Oct 13 08:44:40 2011
</font><font color='#997700'>@@ -79,6 +79,7 @@
</font> AC_CHECK_SIZEOF([blksize_t])
AC_CHECK_SIZEOF([blkcnt_t])
AC_CHECK_SIZEOF([time_t])
<font color='#000088'>+AC_CHECK_SIZEOF([mode_t])
</font>
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxfile01/test.c:1.34 rtems/testsuites/psxtests/psxfile01/test.c:1.35
--- rtems/testsuites/psxtests/psxfile01/test.c:1.34 Fri Jul 22 15:23:21 2011
+++ rtems/testsuites/psxtests/psxfile01/test.c Thu Oct 13 08:44:40 2011
</font><font color='#997700'>@@ -40,6 +40,8 @@
</font> #include <rtems.h>
#include <rtems/libio.h>
<font color='#000088'>+#include "primode.h"
+
</font> void test_case_reopen_append(void);
char test_write_buffer[ 1024 ];
<font color='#997700'>@@ -86,7 +88,7 @@
</font>
printf( "....st_dev (0x%x:0x%x)\n", major1, minor1 );
printf( "....st_ino %" PRIxino_t " may vary by small amount\n", buf->st_ino );
<font color='#880000'>- printf( "....mode = %08o\n", (unsigned int) buf->st_mode );
</font><font color='#000088'>+ printf( "....mode = %08" PRIomode_t "\n", buf->st_mode );
</font> printf( "....nlink = %d\n", buf->st_nlink );
printf( "....uid = %d\n", buf->st_uid );
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxstat/test.c:1.34 rtems/testsuites/psxtests/psxstat/test.c:1.35
--- rtems/testsuites/psxtests/psxstat/test.c:1.34 Fri Apr 15 09:21:19 2011
+++ rtems/testsuites/psxtests/psxstat/test.c Thu Oct 13 08:44:40 2011
</font><font color='#997700'>@@ -33,6 +33,8 @@
</font> #include <rtems/imfs.h>
#include <pmacros.h>
<font color='#000088'>+#include "primode.h"
+
</font> #define MAXSYMLINK 5 /* There needs to be a better way of getting this. */
#define TIMEOUT_VALUE ( 5 * rtems_clock_get_ticks_per_second() )
<font color='#997700'>@@ -211,7 +213,7 @@
</font>
printf("\n...st_dev (0x%x:0x%x)\n", major1, minor1 );
printf( "...st_ino %" PRIxino_t "\n", statbuf.st_ino );
<font color='#880000'>- printf( "...st_mode %o\n", (unsigned int) statbuf.st_mode );
</font><font color='#000088'>+ printf( "...st_mode %" PRIomode_t "\n", statbuf.st_mode );
</font> printf( "...st_nlink %x\n", statbuf.st_nlink );
printf( "...st_uid %d\n", statbuf.st_uid );
printf( "...st_gid %d\n", statbuf.st_gid );
</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>