mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1297/cpukit * psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Fix NULL attribute pointer handling.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
PR 1297/cpukit
|
||||
* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Fix NULL attribute
|
||||
pointer handling.
|
||||
|
||||
2008-08-04 Tim FitzGeorge <tim.fitzgeorge@astrium.eads.net>
|
||||
|
||||
PR 1293/tests
|
||||
|
||||
@@ -16,7 +16,6 @@ pthread_rwlockattr_getpshared( &attr, &p ) -- OK
|
||||
pthread_rwlockattr_destroy( &attr ) -- OK
|
||||
pthread_rwlockattr_getpshared( &attr, &p ) destroyed -- EINVAL
|
||||
pthread_rwlock_init(NULL, &attr) -- EINVAL
|
||||
pthread_rwlock_init(&rwlock, NULL) -- EINVAL
|
||||
pthread_rwlock_destroy(NULL) -- EINVAL
|
||||
pthread_rwlock_rdlock(NULL) -- EINVAL
|
||||
pthread_rwlock_timedrdlock( NULL, &abstime) -- EINVAL
|
||||
|
||||
@@ -164,10 +164,6 @@ int main(
|
||||
status = pthread_rwlock_init(NULL, &attr);
|
||||
assert( status == EINVAL );
|
||||
|
||||
puts( "pthread_rwlock_init(&rwlock, NULL) -- EINVAL" );
|
||||
status = pthread_rwlock_init(&rwlock, NULL);
|
||||
assert( status == EINVAL );
|
||||
|
||||
puts( "pthread_rwlock_destroy(NULL) -- EINVAL" );
|
||||
status = pthread_rwlock_destroy(NULL);
|
||||
assert( status == EINVAL );
|
||||
|
||||
Reference in New Issue
Block a user