change log for rtems (2011-10-13)
rtems-vc at rtems.org
rtems-vc at rtems.org
Thu Oct 13 14:12:07 UTC 2011
*ralf*:
2011-10-13 Ralf Corsépius <ralf.corsepius at 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.
M 1.362 testsuites/psxtests/ChangeLog
M 1.87 testsuites/psxtests/configure.ac
M 1.35 testsuites/psxtests/psxfile01/test.c
M 1.35 testsuites/psxtests/psxstat/test.c
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
@@ -1,3 +1,9 @@
+2011-10-13 Ralf Corsépius <ralf.corsepius at 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.
+
2011-10-12 Sebastian Huber <sebastian.huber at embedded-brains.de>
* psxaio01/system.h, psxaio02/system.h, psxaio03/system.h: Do not use
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
@@ -79,6 +79,7 @@
AC_CHECK_SIZEOF([blksize_t])
AC_CHECK_SIZEOF([blkcnt_t])
AC_CHECK_SIZEOF([time_t])
+AC_CHECK_SIZEOF([mode_t])
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile
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
@@ -40,6 +40,8 @@
#include <rtems.h>
#include <rtems/libio.h>
+#include "primode.h"
+
void test_case_reopen_append(void);
char test_write_buffer[ 1024 ];
@@ -86,7 +88,7 @@
printf( "....st_dev (0x%x:0x%x)\n", major1, minor1 );
printf( "....st_ino %" PRIxino_t " may vary by small amount\n", buf->st_ino );
- printf( "....mode = %08o\n", (unsigned int) buf->st_mode );
+ printf( "....mode = %08" PRIomode_t "\n", buf->st_mode );
printf( "....nlink = %d\n", buf->st_nlink );
printf( "....uid = %d\n", buf->st_uid );
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
@@ -33,6 +33,8 @@
#include <rtems/imfs.h>
#include <pmacros.h>
+#include "primode.h"
+
#define MAXSYMLINK 5 /* There needs to be a better way of getting this. */
#define TIMEOUT_VALUE ( 5 * rtems_clock_get_ticks_per_second() )
@@ -211,7 +213,7 @@
printf("\n...st_dev (0x%x:0x%x)\n", major1, minor1 );
printf( "...st_ino %" PRIxino_t "\n", statbuf.st_ino );
- printf( "...st_mode %o\n", (unsigned int) statbuf.st_mode );
+ printf( "...st_mode %" PRIomode_t "\n", statbuf.st_mode );
printf( "...st_nlink %x\n", statbuf.st_nlink );
printf( "...st_uid %d\n", statbuf.st_uid );
printf( "...st_gid %d\n", statbuf.st_gid );
--
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/20111013/6911df00/attachment-0001.html>
More information about the vc
mailing list