| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13392 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
unsigned to signed long (error messages and tables are signed)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13075 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13062 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
internal state.
(struct et_list, _et_list): Remove.
* error_table.h (struct et_list, _et_list): Put back here.
* error_message.c (add_error_table, remove_error_table): Annotate specific
modifications. Disable inconsistent-defifition checks since _et_list isn't
describe in the header file but is global and modified.
* et_c.awk: Make the generated initialization function simply call
add_error_table, and drop the static linked-list node.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12915 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12911 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
Use it when building test programs too.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12910 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12882 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12881 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
| |
Run lclint on t_com_err test case; tune options; more annotations.
Use <com_err.h> instead of duplicated definitions in generated files.
Rebuild Perl versions of awk scripts for generating files.
Dump K&R C support, assume C89/C++.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12880 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12877 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12868 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12856 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
due to deficiencies in lclint. Its4 chokes in parser.
* com_err.h (struct error_table): Annotate MSGS as pointing to 'shared' data.
(error_message): Returned data is 'observer' and 'dependent'; modifies internal
state.
* com_err.c (default_com_err_proc): Cast various return values to void.
(reset_com_err_hook): Use NULL, not 0.
(com_err_hook): Annotate as 'null'.
* error_table.h (_et_list): Annotate as 'null' and 'dependent'.
(struct et_list): Annotate NEXT as 'dependent' and 'null', and TABLE as
'dependent'.
(struct dynamic_et_list): Duplicate et_list definition, except NEXT is
annotated as 'only' instead of 'dependent'.
(error_table_name, error_table_name_r): Annotate for lclint.
* et_h.awk: Add lclint annotations for initialize_* functions.
* error_message.c (_et_list): Can be 'null'.
(error_message): Explicitly compare against zero. Cast strerror arg to int.
(et_list_dynamic): New variable, for dynamically allocated list elements;
_et_list is now for statically allocated elements only.
(add_error_table, remove_error_table): Check both lists.
* et_name.c (error_table_name, error_table_name_r): Annotate for lclint.
* init_et.c (et_add_error_table): Change "link" to "e" to avoid confusion with
C library function in analysis tools.
* et1.et, et2.et, t_com_err.c: New files. Exercise addition and removal of
error tables from list, using both interfaces.
* Makefile.in (LCLINT, LCLINTOPTS, ITS4, ITS4OPTS): New variables.
(do-lclint, do-its4, et1.o, et2.o, t_com_err.o, t_com_err): New targets. Not
automatically invoked at present.
(FILES): Updated.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12855 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
| |
AC_EGREP_HEADER, AC_HAVE_HEADERS to AC_CHECK_HEADERS. Updates to
autoconf 2 namespace.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12827 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
error table initiialization function.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12584 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12510 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12432 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12426 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12331 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12089 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
| |
to get MIT Support Library and Mac OS Toolbox error codes
(similar to the way windows does it).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11888 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11877 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11680 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11512 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This log message includes all of the different changes across several
Makefile.in files (and win-pre.in and win-post.in):
- Remove "-" from recursive windows make invocations so that we can bail
on a build error. New MIGNORE option restores the previous bailing
behavior.
- Update windows readme to reflect current practices.
- Add NO_OUTDIR synonym for NO_OUTPRE in windows build.
- Top-level windows Makefile now builds util which now builds
util/windows, util/et, and util/profile (instead of building them
directly).
- Remove trailing backslash from rule that creates the windows output dir.
This backslash would cause the rule to always be invoked.
- Move WCONFIG and WCONFIG_EXE definitions into win-pre.in.
- Remove rules in include directory that blindly copy include header
files from gssapi, et, and profile. Instead, use/add build rules to
the components that generate them that copy only when the file changes.
- Use dependencies in include/krb5 to copy header files instead of blindly
copying them. Add !if 0/!endif wrapper to Unix version of the rules.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11464 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11432 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11292 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
* et_h.awk: Fix to not depend on CPP symbol "unix".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11137 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
"#if !defined(unix)", since not all Unix compilers define "unix".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11051 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
!defined(unix)", since not all Unix compilers define "unix".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11050 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
with CodeWarrior changes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10617 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
used in BUILDTOP.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10464 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
Allows make depend to work...
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10209 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
since some C++ compilers don't set __STDC__
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10009 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
* com_err.c: Fix MacMessageBox prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9996 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
| |
debugging cruft.
* com_err.h: Do not declare com_err_hook extern if you declare it static in the source. [383]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9992 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
to work around NetBSD/Gcc bug. [383]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9991 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
to config/win-post.in
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9964 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9959 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
* Do not use #ifdef unix
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9954 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
| |
NetBSD has an incompatible (thanks to recent changes)
libcom_err.so.2.0 that its linker
prefers to libcom_err.so.1.0
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9944 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
| |
Added new routines: add_error_table & remove_error_table for registering
error tables.
Except on Unix, the _et_list variable and com_err_hook routines/variables
are now private to the comerr library.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9866 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
(win32 console apps)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9854 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
| |
using ET_P)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9839 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9831 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
to be et_XXX_error_table, instead of it being a static
variable named "et". (This change has already been made
in the awk versions of compile_et.)
com_err.h, com_err.c: Remove the void *priv argument from
com_err_va() and et_com_err() experimental API's. (That
was a braino; the private data pointer should come from
the hook_func_data field.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9821 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9818 dc483132-0cff-0310-8789-dd5450dbe970
|
| |
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9782 dc483132-0cff-0310-8789-dd5450dbe970
|