diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-20 00:44:23 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-20 00:44:23 +0000 |
commit | c3b1a2482f36146c09aafd8ad24034280c17d64a (patch) | |
tree | e5f1743d58e950fb10eff9712be6da342f565f03 | |
parent | 558f798ed2d88aae80de8ec93f7fa9b791bcaa9d (diff) | |
download | ATCD-c3b1a2482f36146c09aafd8ad24034280c17d64a.tar.gz |
ChangeLogTag: Mon Jul 19 19:42:04 1999 David L. Levine <levine@cs.wustl.edu>
-rw-r--r-- | TAO/ChangeLog-99c | 5 | ||||
-rw-r--r-- | TAO/tao/Exception.cpp | 5 | ||||
-rw-r--r-- | TAO/tao/corbafwd.h | 1 |
3 files changed, 11 insertions, 0 deletions
diff --git a/TAO/ChangeLog-99c b/TAO/ChangeLog-99c index 7ab8b2be9e3..c3bdd122e60 100644 --- a/TAO/ChangeLog-99c +++ b/TAO/ChangeLog-99c @@ -1,3 +1,8 @@ +Mon Jul 19 19:42:04 1999 David L. Levine <levine@cs.wustl.edu> + + * tao/corbafwd.h,Exception.cpp: added minor code support for + EINVAL errno. [Bug 74] + Mon Jul 19 17:44:36 1999 David L. Levine <levine@cs.wustl.edu> * examples/POA/TIE/Makefile: don't try to build with diff --git a/TAO/tao/Exception.cpp b/TAO/tao/Exception.cpp index c5e438fa3a7..4c63735ef29 100644 --- a/TAO/tao/Exception.cpp +++ b/TAO/tao/Exception.cpp @@ -291,6 +291,8 @@ CORBA_SystemException::_tao_errno (int errno_value) return TAO_EBUSY_MINOR_CODE; case EEXIST: return TAO_EEXIST_MINOR_CODE; + case EINVAL: + return TAO_EINVAL_MINOR_CODE; default: // Mask off bottom 7 bits and return them. return errno_value & 0x7F; @@ -434,6 +436,9 @@ CORBA_SystemException::_info (void) const case TAO_EEXIST_MINOR_CODE: errno_indication = "EEXIST"; break; + case TAO_EINVAL_MINOR_CODE: + errno_indication = "EINVAL"; + break; default: { // 7 bits of some other errno. diff --git a/TAO/tao/corbafwd.h b/TAO/tao/corbafwd.h index 842d54c7fd5..a11d695b4b9 100644 --- a/TAO/tao/corbafwd.h +++ b/TAO/tao/corbafwd.h @@ -1721,6 +1721,7 @@ TAO_NAMESPACE CORBA #define TAO_EFAULT_MINOR_CODE 0xEU #define TAO_EBUSY_MINOR_CODE 0xFU #define TAO_EEXIST_MINOR_CODE 0x10U +#define TAO_EINVAL_MINOR_CODE 0x11U // *Don't* use TAO_<errno>_MINOR_CODE greater than 0x7FU! // These numbers are assigned by the OpenGroup, a database is |