change log for rtems (2011-10-25)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Oct 25 16:10:36 UTC 2011


 *ralf*:
Apply missing patch.

M   1.37  testsuites/psxtests/psxfile01/test.c

diff -u rtems/testsuites/psxtests/psxfile01/test.c:1.36 rtems/testsuites/psxtests/psxfile01/test.c:1.37
--- rtems/testsuites/psxtests/psxfile01/test.c:1.36	Sat Oct 22 07:20:33 2011
+++ rtems/testsuites/psxtests/psxfile01/test.c	Tue Oct 25 10:10:52 2011
@@ -69,8 +69,6 @@
   off_t new_len
 );
 
-int IMFS_memfile_maximum_size( void );
-
 /*
  *  dump_statbuf
  */


 *ralf*:
2011-10-25	Ralf Corsépius <ralf.corsepius at rtems.org>

	* psxreaddir/test.c: Remove bogus casts.
	Fix fprintf format strings.

M  1.373  testsuites/psxtests/ChangeLog
M   1.23  testsuites/psxtests/psxreaddir/test.c

diff -u rtems/testsuites/psxtests/ChangeLog:1.372 rtems/testsuites/psxtests/ChangeLog:1.373
--- rtems/testsuites/psxtests/ChangeLog:1.372	Sat Oct 22 07:20:33 2011
+++ rtems/testsuites/psxtests/ChangeLog	Tue Oct 25 10:12:08 2011
@@ -1,3 +1,8 @@
+2011-10-25	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* psxreaddir/test.c: Remove bogus casts.
+	Fix fprintf format strings.
+
 2011-10-22	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* psxfile01/test.c: Remove local redeclaration of IMFS_dump. 

diff -u rtems/testsuites/psxtests/psxreaddir/test.c:1.22 rtems/testsuites/psxtests/psxreaddir/test.c:1.23
--- rtems/testsuites/psxtests/psxreaddir/test.c:1.22	Fri May  6 12:29:29 2011
+++ rtems/testsuites/psxtests/psxreaddir/test.c	Tue Oct 25 10:12:08 2011
@@ -65,8 +65,8 @@
   d = readdir(directory);
 
   while (d) {
-    printf( "%-20s %8d %8d %6d   0x%04x\n",
-       d->d_name, (int)d->d_ino, (int)d->d_off, d->d_reclen, d->d_type );
+    printf( "%-20s %8ld %8" PRIdoff_t " %6d   0x%04x\n",
+       d->d_name, d->d_ino, d->d_off, d->d_reclen, d->d_type );
     d = readdir(directory);
 
   }
@@ -420,15 +420,15 @@
 
   printf( "\nSeek directory\n" );
   printf( "telldir() should report only sizeof(struct dirent) increments \n" );
-  printf( "in position. Sizeof(struct dirent): %ld\n",
-                          (unsigned long) sizeof(struct dirent) );
+  printf( "in position. Sizeof(struct dirent): %zd\n",
+                          sizeof(struct dirent) );
   rewinddir( directory );
   for( off=0 ; off<=200 ; off=off + sizeof(struct dirent) / 4 ) {
     seekdir( directory, off );
     printf(
-       "seeked to %2d -- currently at %2d\n",
-       (int)off,
-       (int)telldir(directory)
+       "seeked to %2" PRIdoff_t " -- currently at %2ld\n",
+       off,
+       telldir(directory)
     );
   }
 



--

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/20111025/e0e800d0/attachment-0001.html>


More information about the vc mailing list