diff options
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/posix/src/mutextranslatereturncode.c | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index b782c63e0a..102a41c8c2 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com> + + PR 1393/cpukit + * posix/src/mutextranslatereturncode.c: Add entry to table for + CORE_MUTEX_RELEASE_NOT_ORDER. + 2009-03-09 Joel Sherrill <joel.sherrill@OARcorp.com> PR 1376/filesystem diff --git a/cpukit/posix/src/mutextranslatereturncode.c b/cpukit/posix/src/mutextranslatereturncode.c index d2a684bfe0..0392e29eac 100644 --- a/cpukit/posix/src/mutextranslatereturncode.c +++ b/cpukit/posix/src/mutextranslatereturncode.c @@ -1,7 +1,7 @@ /* * POSIX Mutex Error Translation * - * COPYRIGHT (c) 1989-2008. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -39,6 +39,9 @@ static int _POSIX_Mutex_Return_codes[CORE_MUTEX_STATUS_LAST + 1] = { EPERM, /* CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE */ EINVAL, /* CORE_MUTEX_WAS_DELETED */ ETIMEDOUT, /* CORE_MUTEX_TIMEOUT */ +#ifdef __RTEMS_STRICT_ORDER_MUTEX__ + EDEADLK, /* CORE_MUTEX_RELEASE_NOT_ORDER */ +#endif EINVAL /* CORE_MUTEX_STATUS_CEILING_VIOLATED */ }; |