change log for rtems (2010-07-27)
rtems-vc at rtems.org
rtems-vc at rtems.org
Tue Jul 27 22:10:19 UTC 2010
*joel*:
2010-07-27 Joel Sherrill <joel.sherrill at oarcorp.com>
* posix/src/keycreate.c: Fix typo.
M 1.2532 cpukit/ChangeLog
M 1.17 cpukit/posix/src/keycreate.c
diff -u rtems/cpukit/ChangeLog:1.2531 rtems/cpukit/ChangeLog:1.2532
--- rtems/cpukit/ChangeLog:1.2531 Tue Jul 27 13:11:42 2010
+++ rtems/cpukit/ChangeLog Tue Jul 27 16:22:52 2010
@@ -1,5 +1,9 @@
2010-07-27 Joel Sherrill <joel.sherrill at oarcorp.com>
+ * posix/src/keycreate.c: Fix typo.
+
+2010-07-27 Joel Sherrill <joel.sherrill at oarcorp.com>
+
* libfs/src/imfs/imfs_load_tar.c, libmisc/untar/untar.c: Now supports
both pax and GNU tar created tar files.
diff -u rtems/cpukit/posix/src/keycreate.c:1.16 rtems/cpukit/posix/src/keycreate.c:1.17
--- rtems/cpukit/posix/src/keycreate.c:1.16 Mon Jul 26 17:03:17 2010
+++ rtems/cpukit/posix/src/keycreate.c Tue Jul 27 16:22:52 2010
@@ -62,7 +62,7 @@
/*
* Since the removal of ITRON, this cannot occur.
*/
- if ( !_Objects_Information_table[ api_index ] )
+ if ( !_Objects_Information_table[ the_api ] )
continue;
/*
*joel*:
2010-07-27 Joel Sherrill <joel.sherrilL at OARcorp.com>
* sp43/init.c, sp43/sp43.scn: Add code to exercise case where an API
pointer is NULL when getting an object name.
M 1.408 testsuites/sptests/ChangeLog
M 1.24 testsuites/sptests/sp43/init.c
M 1.12 testsuites/sptests/sp43/sp43.scn
diff -u rtems/testsuites/sptests/ChangeLog:1.407 rtems/testsuites/sptests/ChangeLog:1.408
--- rtems/testsuites/sptests/ChangeLog:1.407 Tue Jul 27 14:03:00 2010
+++ rtems/testsuites/sptests/ChangeLog Tue Jul 27 16:25:02 2010
@@ -1,5 +1,10 @@
2010-07-27 Joel Sherrill <joel.sherrilL at OARcorp.com>
+ * sp43/init.c, sp43/sp43.scn: Add code to exercise case where an API
+ pointer is NULL when getting an object name.
+
+2010-07-27 Joel Sherrill <joel.sherrilL at OARcorp.com>
+
* sp11/sp11.scn, sp11/task1.c: Add test case for receiving all events
no wait but the condition is only partially satisfied.
diff -u rtems/testsuites/sptests/sp43/init.c:1.23 rtems/testsuites/sptests/sp43/init.c:1.24
--- rtems/testsuites/sptests/sp43/init.c:1.23 Mon Jun 21 17:54:26 2010
+++ rtems/testsuites/sptests/sp43/init.c Tue Jul 27 16:25:02 2010
@@ -473,6 +473,24 @@
);
fatal_directive_status( sc, RTEMS_INVALID_ID, "rtems_semaphore_obtain" );
+ /*
+ * Invalid POSIX API pointer on get name
+ */
+ {
+ void *tmp;
+ tmp = _Objects_Information_table[OBJECTS_POSIX_API];
+ _Objects_Information_table[OBJECTS_POSIX_API] = NULL;
+
+ puts( "rtems_object_get_classic_name - bad API pointer - INVALID_ID" );
+ sc = rtems_object_get_classic_name(
+ rtems_build_id( OBJECTS_POSIX_API, OBJECTS_POSIX_THREADS, 1, 1 ),
+ &tmpName
+ );
+ fatal_directive_status( sc, RTEMS_INVALID_ID, "object_get_classic_name" );
+
+ _Objects_Information_table[OBJECTS_POSIX_API] = tmp;
+ }
+
puts( "*** END OF TEST 43 ***" );
rtems_test_exit( 0 );
}
diff -u rtems/testsuites/sptests/sp43/sp43.scn:1.11 rtems/testsuites/sptests/sp43/sp43.scn:1.12
--- rtems/testsuites/sptests/sp43/sp43.scn:1.11 Sat Jun 19 15:55:03 2010
+++ rtems/testsuites/sptests/sp43/sp43.scn Tue Jul 27 16:25:02 2010
@@ -85,4 +85,5 @@
rtems_task_set_priority - use valid Idle thread id again
rtems_task_set_priority - restore internal thread class info
rtems_semaphore_obtain - good but uncreated ID - INVALID_ID - OK
+rtems_object_get_classic_name - bad API pointer - INVALID_ID
*** END OF TEST 43 ***
--
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/20100727/505480f0/attachment-0001.html>
More information about the vc
mailing list