summaryrefslogtreecommitdiffstats
path: root/src/util/et/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* handle irix high-numbered error codesKen Raeburn2001-06-201-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13392 dc483132-0cff-0310-8789-dd5450dbe970
* * com_err.h: For struct error_table, change the base from anEzra Peisach2001-03-121-0/+5
| | | | | | 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
* * test_et.c (main): Only use sys_nerr tests if HAVE_SYS_ERRLISTKen Raeburn2001-03-081-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13062 dc483132-0cff-0310-8789-dd5450dbe970
* * com_err.h (add_error_table, remove_error_table): Annotate as modifyingKen Raeburn2001-01-201-0/+16
| | | | | | | | | | | | | | | | 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
* update to implement equivalent of ref countKen Raeburn2001-01-181-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12911 dc483132-0cff-0310-8789-dd5450dbe970
* Make compile_et script installable, and install it.Ken Raeburn2001-01-181-0/+14
| | | | | | Use it when building test programs too. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12910 dc483132-0cff-0310-8789-dd5450dbe970
* restore GSS_DLLIMP, KRB5_EXPORTVAR, NEAR macrosKen Raeburn2000-12-061-2/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12882 dc483132-0cff-0310-8789-dd5450dbe970
* fix typoKen Raeburn2000-12-061-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12881 dc483132-0cff-0310-8789-dd5450dbe970
* Remove a bunch of macro definitions we don't use.Ken Raeburn2000-12-061-0/+23
| | | | | | | | | 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
* try lclint on a com_err test program; misc cleanupKen Raeburn2000-12-061-0/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12877 dc483132-0cff-0310-8789-dd5450dbe970
* make "make check" do somethingKen Raeburn2000-11-141-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12868 dc483132-0cff-0310-8789-dd5450dbe970
* clarify a littleKen Raeburn2000-11-081-3/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12856 dc483132-0cff-0310-8789-dd5450dbe970
* Test out lclint and its4 on com_err library. One lclint error left on Solaris,Ken Raeburn2000-11-081-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * configure.in: Change AC_CONST to AC_C_CONST, AC_HEADER_EGREP toEzra Peisach2000-11-011-0/+6
| | | | | | | 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
* * et_c.awk: Actually define NOARGS as needed. Add prototype forEzra Peisach2000-07-241-0/+5
| | | | | | error table initiialization function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12584 dc483132-0cff-0310-8789-dd5450dbe970
* back out format-attribute changeKen Raeburn2000-07-021-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12510 dc483132-0cff-0310-8789-dd5450dbe970
* * com_err.h (com_err): Declare with format attribute if using gccKen Raeburn2000-06-261-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12432 dc483132-0cff-0310-8789-dd5450dbe970
* merge from krb5-1-2-beta4Ken Raeburn2000-06-231-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12426 dc483132-0cff-0310-8789-dd5450dbe970
* Change wsanchez@apple -> tritan@mitWilfredo Sanchez2000-06-011-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12331 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (com_err.o): Depends on com_err.cKen Raeburn2000-02-281-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12089 dc483132-0cff-0310-8789-dd5450dbe970
* * error_message.c, error_table.h: Added support to use ErrorLib Alexandra Ellwood1999-10-281-0/+6
| | | | | | | 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
* log tritan's changesTom Yu1999-10-261-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11877 dc483132-0cff-0310-8789-dd5450dbe970
* Added et.expMiro Jurisic1999-08-181-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11680 dc483132-0cff-0310-8789-dd5450dbe970
* Get rid of control characters in text fileDanilo Almeida1999-06-151-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11512 dc483132-0cff-0310-8789-dd5450dbe970
* These are a bunch of intertwined changes to the windows build.Danilo Almeida1999-05-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Do win32 build in subdirDanilo Almeida1999-05-101-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11432 dc483132-0cff-0310-8789-dd5450dbe970
* * com_err.h: Fix GSS_DLLIMPTom Yu1999-03-151-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11292 dc483132-0cff-0310-8789-dd5450dbe970
* * et_c.awk: Fix to not depend on CPP symbol "unix"Tom Yu1999-02-021-0/+6
| | | | | | * 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
* com_err.h, error_table.h: Use "#if defined(MSDOS) || ..." instead ofTheodore Tso1998-12-011-2/+3
| | | | | | "#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
* error_message.c: Use "#if defined(MSDOS) || ..." instead of "#ifTheodore Tso1998-12-011-0/+6
| | | | | | !defined(unix)", since not all Unix compilers define "unix". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11050 dc483132-0cff-0310-8789-dd5450dbe970
* com_err.c (MacMessageBox): Change TextBox to TETextBox to match upTheodore Tso1998-07-021-0/+5
| | | | | | with CodeWarrior changes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10617 dc483132-0cff-0310-8789-dd5450dbe970
* Remove trailing slash from thisconfigdir. Change directory syntaxTom Yu1998-02-181-0/+5
| | | | | | used in BUILDTOP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10464 dc483132-0cff-0310-8789-dd5450dbe970
* Mass makefile/configure.in build system revampTheodore Tso1998-02-121-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add $(srcdir) as prefix to srcsEzra Peisach1997-10-071-0/+4
| | | | | | Allows make depend to work... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10209 dc483132-0cff-0310-8789-dd5450dbe970
* * error_message.c (error_message): Mask error code withEzra Peisach1997-07-221-0/+9
| | | | | | | | | | | | | | | | | 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
* Add 'extern "C"' for C++ compatibility; also check for __cplusplusTheodore Tso1997-03-181-0/+5
| | | | | | since some C++ compilers don't set __STDC__ git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10009 dc483132-0cff-0310-8789-dd5450dbe970
* * error_message.c: Don't declare sys_nerr on MacintoshEzra Peisach1997-03-031-0/+6
| | | | | | * com_err.c: Fix MacMessageBox prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9996 dc483132-0cff-0310-8789-dd5450dbe970
* * com_err.c: Back out last change; it's not needed. Also, removeSam Hartman1997-03-011-1/+3
| | | | | | | | 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
* Remove static from declaration of com_err_hookSam Hartman1997-03-011-0/+4
| | | | | | to work around NetBSD/Gcc bug. [383] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9991 dc483132-0cff-0310-8789-dd5450dbe970
* Moved some of the library list file build logic from the individual MakefilesRichard Basch1997-02-231-0/+2
| | | | | | to config/win-post.in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9964 dc483132-0cff-0310-8789-dd5450dbe970
* Described the replacement of #ifdef unixRichard Basch1997-02-221-5/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9959 dc483132-0cff-0310-8789-dd5450dbe970
* * Make shared libs work on AIXSam Hartman1997-02-221-0/+12
| | | | | | * Do not use #ifdef unix git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9954 dc483132-0cff-0310-8789-dd5450dbe970
* Update the major version to 3;Sam Hartman1997-02-221-0/+4
| | | | | | | | 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
* Removed V2 experimental API previously checked-in.Richard Basch1997-02-151-0/+8
| | | | | | | | | 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
* com_err.c: display the error via stderr if it is a character deviceRichard Basch1997-02-111-0/+5
| | | | | | (win32 console apps) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9854 dc483132-0cff-0310-8789-dd5450dbe970
* Fix broken Windows 16 declaration. (Should be KRB5_CALLCONV, andTheodore Tso1997-02-111-0/+5
| | | | | | using ET_P) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9839 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-091-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9831 dc483132-0cff-0310-8789-dd5450dbe970
* compile_et.c: Change the emitted name of the struct error_tableTheodore Tso1997-02-081-0/+12
| | | | | | | | | | | | | 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
* com_err.[ch]: Define old com_err_va interfaceRichard Basch1997-02-081-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9818 dc483132-0cff-0310-8789-dd5450dbe970
* New V2 API + Win16/Win32 supportRichard Basch1997-02-061-0/+32
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9782 dc483132-0cff-0310-8789-dd5450dbe970