change log for rtems (2011-04-05)
rtems-vc at rtems.org
rtems-vc at rtems.org
Tue Apr 5 10:10:36 UTC 2011
*sh*:
2011-04-05 Sebastian Huber <sebastian.huber at embedded-brains.de>
* tar01/init.c: Fixed integer types.
M 1.264 testsuites/libtests/ChangeLog
M 1.3 testsuites/libtests/tar01/init.c
diff -u rtems/testsuites/libtests/ChangeLog:1.263 rtems/testsuites/libtests/ChangeLog:1.264
--- rtems/testsuites/libtests/ChangeLog:1.263 Mon Mar 14 11:18:10 2011
+++ rtems/testsuites/libtests/ChangeLog Tue Apr 5 04:19:53 2011
@@ -1,3 +1,7 @@
+2011-04-05 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * tar01/init.c: Fixed integer types.
+
2011-03-14 Joel Sherrill <joel.sherrill at oarcorp.com>
* Makefile.am, configure.ac: Add test for Mouse Parser Engine
diff -u rtems/testsuites/libtests/tar01/init.c:1.2 rtems/testsuites/libtests/tar01/init.c:1.3
--- rtems/testsuites/libtests/tar01/init.c:1.2 Tue Feb 22 01:34:08 2011
+++ rtems/testsuites/libtests/tar01/init.c Tue Apr 5 04:19:53 2011
@@ -60,30 +60,31 @@
void test_untar_from_file(void)
{
- rtems_status_code sc;
int fd;
+ int rv;
+ ssize_t n;
puts( "Copy tar image to test.tar" );
/* Copy tar image from object to file in IMFS */
fd = open( "/test.tar", O_CREAT|O_TRUNC|O_WRONLY, 0777 );
rtems_test_assert( fd != -1 );
- sc = write( fd, TARFILE_START, TARFILE_SIZE );
- rtems_test_assert( sc == TARFILE_SIZE );
+ n = write( fd, TARFILE_START, TARFILE_SIZE );
+ rtems_test_assert( n == TARFILE_SIZE );
close( fd );
/* make a directory to untar it into */
- sc = mkdir( "/dest", 0777 );
- rtems_test_assert( !sc );
+ rv = mkdir( "/dest", 0777 );
+ rtems_test_assert( rv == 0 );
- sc = chdir( "/dest" );
- rtems_test_assert( !sc );
+ rv = chdir( "/dest" );
+ rtems_test_assert( rv == 0 );
/* Untar it */
- sc = Untar_FromFile( "/test.tar" );
+ rv = Untar_FromFile( "/test.tar" );
printf("Untaring from file - ");
- if (sc != RTEMS_SUCCESSFUL) {
- printf ("error: untar failed: %s\n", rtems_status_text (sc));
+ if (rv != UNTAR_SUCCESSFUL) {
+ printf ("error: untar failed: %i\n", rv);
exit(1);
}
printf ("successful\n");
*sh*:
2011-04-05 Sebastian Huber <sebastian.huber at embedded-brains.de>
* score/src/heap.c: Avoid integer overflow.
M 1.2796 cpukit/ChangeLog
M 1.41 cpukit/score/src/heap.c
diff -u rtems/cpukit/ChangeLog:1.2795 rtems/cpukit/ChangeLog:1.2796
--- rtems/cpukit/ChangeLog:1.2795 Mon Apr 4 13:44:15 2011
+++ rtems/cpukit/ChangeLog Tue Apr 5 04:50:01 2011
@@ -1,3 +1,7 @@
+2011-04-05 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * score/src/heap.c: Avoid integer overflow.
+
2010-07-28 Gedare Bloom <giddyup44 at yahoo.com>
PR 1641/cpukit
diff -u rtems/cpukit/score/src/heap.c:1.40 rtems/cpukit/score/src/heap.c:1.41
--- rtems/cpukit/score/src/heap.c:1.40 Thu Nov 4 18:00:04 2010
+++ rtems/cpukit/score/src/heap.c Tue Apr 5 04:50:02 2011
@@ -162,7 +162,7 @@
)
{
/* FIXME */
- _Internal_error_Occurred( 0xdeadbeef, false, 0xdeadbeef );
+ _Internal_error_Occurred( INTERNAL_ERROR_CORE, false, 0xdeadbeef );
}
#endif
--
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/20110405/0346e7cc/attachment.html>
More information about the vc
mailing list