* error_message.c (error_message): Mask error code with
authorEzra Peisach <epeisach@mit.edu>
Tue, 22 Jul 1997 00:29:16 +0000 (00:29 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 22 Jul 1997 00:29:16 +0000 (00:29 +0000)
commit1eda083efe0b1c9f8db5c559651dbab9ae09faa2
treee6889bef901d5cf441ba13b7d677687327c6b1e2
parent629f941f7a440a9b6ef7490dd2030dbba7bd0038
* error_message.c (error_message): Mask error code with
ERRCODE_MASK to handle case where 32bit ints are zero
filled in the gssapi layer.

* error_table.h: Define ERRCODE_MAX, the maximum allowed error
code (32bits).

I am taking the draconian outlook that the com_err library was always
intending to define the error as a 32 bit value. I taken this approach
instead of making the errcode_t machine specific as the com_er
generated header files would then need be machine specific as
well. (error codes are declared as say -4353L explicitly).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10122 dc483132-0cff-0310-8789-dd5450dbe970
src/util/et/ChangeLog
src/util/et/error_message.c
src/util/et/error_table.h