summaryrefslogtreecommitdiffstats
path: root/src/util
Commit message (Collapse)AuthorAgeFilesLines
...
* remove occurences of USE_STRING_H, HAS_STRDUP, and HAS_LABSTom Yu1997-09-193-2/+8
| | | | | | (see ChangeLogs for details) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10199 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add $(srcdir) as neededEzra Peisach1997-08-172-4/+9
| | | | | | make depend will now work if needed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10180 dc483132-0cff-0310-8789-dd5450dbe970
* * error_message.c (error_message): Mask error code withEzra Peisach1997-07-223-2/+12
| | | | | | | | | | | | | | | | | 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
* * acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Fix bug in previousTom Yu1997-06-203-5/+10
| | | | | | patch; add double quotes to protect things. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10101 dc483132-0cff-0310-8789-dd5450dbe970
* * acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Assign the path toTom Yu1997-06-183-10/+23
| | | | | | | | | ac_dummy and then expand it, rather than simply tacking on $ac_dummy to the path. This works around POSIX.2 word splitting semantics, in which even things like a:b:c:$PATH don't get word-split as you might expect on a pre-POSIX shell. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10099 dc483132-0cff-0310-8789-dd5450dbe970
* Remove erroneous space from the HPUX open()Theodore Tso1997-06-032-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10093 dc483132-0cff-0310-8789-dd5450dbe970
* Check for openpty() in -lutil. It's there on FreeBSD and BSDITheodore Tso1997-04-252-0/+6
| | | | | | systems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10074 dc483132-0cff-0310-8789-dd5450dbe970
* it's 'extern "C"' not '#extern "C"'Kevin Mitchell1997-03-311-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10039 dc483132-0cff-0310-8789-dd5450dbe970
* Fix stupid spelling typoTheodore Tso1997-03-251-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10029 dc483132-0cff-0310-8789-dd5450dbe970
* Fix to sed the manpage so that it is internally consistentTom Yu1997-03-201-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10018 dc483132-0cff-0310-8789-dd5450dbe970
* Oops this should not have been checked inTom Yu1997-03-202-628/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10016 dc483132-0cff-0310-8789-dd5450dbe970
* This commit was generated by cvs2svn to compensate for changes in r10013,Tom Yu1997-03-201-9/+17
| | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10014 dc483132-0cff-0310-8789-dd5450dbe970
* Initial revisionTom Yu1997-03-202-0/+628
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10011 dc483132-0cff-0310-8789-dd5450dbe970
* Add 'extern "C"' for C++ compatibility; also check for __cplusplusTheodore Tso1997-03-182-1/+14
| | | | | | 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-033-1/+9
| | | | | | * 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-013-6/+7
| | | | | | | | 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-012-3/+8
| | | | | | 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-234-11/+8
| | | | | | 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
* AIX should also have the compatibility interfaceRichard Basch1997-02-222-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9958 dc483132-0cff-0310-8789-dd5450dbe970
* I really did mean #ifdef unix... I added AIX for compatibility.Richard Basch1997-02-223-3/+7
| | | | | | | Basically, only old Unix comerr will have the backwards compatibility. New systems, such as MVS/OpenEdition, MacOS, VMS, etc. should NOT. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9957 dc483132-0cff-0310-8789-dd5450dbe970
* * Make shared libs work on AIXSam Hartman1997-02-222-1/+4
| | | | | | * Do not prototype error table init funciton; doesn't work any more git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9955 dc483132-0cff-0310-8789-dd5450dbe970
* * Make shared libs work on AIXSam Hartman1997-02-226-5/+18
| | | | | | * Do not use #ifdef unix git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9954 dc483132-0cff-0310-8789-dd5450dbe970
* * Make shared libs work on AIXSam Hartman1997-02-223-127/+35
| | | | | | * Remove non-AIX stuff from makeshlib.sh as it is no longer needed git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9953 dc483132-0cff-0310-8789-dd5450dbe970
* Update the major version to 3;Sam Hartman1997-02-222-1/+5
| | | | | | | | 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
* Unix bug: link.table was referencing an incompletely constructed variableRichard Basch1997-02-201-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9935 dc483132-0cff-0310-8789-dd5450dbe970
* et_c.awk:Richard Basch1997-02-202-21/+24
| | | | | | | | | | | | By default, the Unix version will still modify the _et_list variable (MIT com_err compatibility) Also, because et_XXX_error_table (struct error_table) is a global variable, no initialization/cleanup routine needs to be declared. The initialization routine is defined to be a no-op on all platforms but Unix to avoid compilation errors of a lot of the tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9932 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure KRB5_DLLIMP/KRB5_CALLCONV are definedRichard Basch1997-02-181-0/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9902 dc483132-0cff-0310-8789-dd5450dbe970
* Do not free unallocated memory (win16)Richard Basch1997-02-181-11/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9901 dc483132-0cff-0310-8789-dd5450dbe970
* Win16 fixesRichard Basch1997-02-183-8/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9896 dc483132-0cff-0310-8789-dd5450dbe970
* Because you cannot call malloc() during DLL initialization under win16,Richard Basch1997-02-181-2/+16
| | | | | | | we must pre-allocate an array sufficiently large to hold several error tables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9895 dc483132-0cff-0310-8789-dd5450dbe970
* Export profile_get_values() for krb4 library (win16/win32)Richard Basch1997-02-184-28/+34
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9888 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed variable name for Windows buildRichard Basch1997-02-161-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9877 dc483132-0cff-0310-8789-dd5450dbe970
* Checked in a debugging version, by accident.Richard Basch1997-02-161-2/+11
| | | | | | FormatMessage() is only available under Win32; some code needed rearranging git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9876 dc483132-0cff-0310-8789-dd5450dbe970
* The libhack merge lost all the windows build instructions... fixed..Richard Basch1997-02-152-5/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9867 dc483132-0cff-0310-8789-dd5450dbe970
* Removed V2 experimental API previously checked-in.Richard Basch1997-02-159-255/+200
| | | | | | | | | 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: Only check if stderr is a tty under Win32; Win16 does notRichard Basch1997-02-141-0/+2
| | | | | | even declare stderr. (win16/win32) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9864 dc483132-0cff-0310-8789-dd5450dbe970
* com_err.c: display the error via stderr if it is a character deviceRichard Basch1997-02-112-1/+15
| | | | | | (win32 console apps) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9854 dc483132-0cff-0310-8789-dd5450dbe970
* getopt functionality for win32 console appsRichard Basch1997-02-111-0/+126
| | | | | | (based on appl/telnet/libtelnet/getopt.c) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9845 dc483132-0cff-0310-8789-dd5450dbe970
* Build getopt.obj (getopt functionality for win32 console apps)Richard Basch1997-02-111-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9844 dc483132-0cff-0310-8789-dd5450dbe970
* Fix broken Windows 16 declaration. (Should be KRB5_CALLCONV, andTheodore Tso1997-02-113-3/+6
| | | | | | using ET_P) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9839 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-0912-136/+100
| | | | 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-084-15/+28
| | | | | | | | | | | | | 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
* prof_int.h: Include "com_err.h" instead of redeclaring errcode_tRichard Basch1997-02-082-10/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9819 dc483132-0cff-0310-8789-dd5450dbe970
* com_err.[ch]: Define old com_err_va interfaceRichard Basch1997-02-083-1/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9818 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Remove target before copying over it (avoids perm. errors)Richard Basch1997-02-062-1/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9793 dc483132-0cff-0310-8789-dd5450dbe970
* profile.hin: Do not multiply process the contents of this fileRichard Basch1997-02-063-13/+10
| | | | | | test_parse.c: Do not include "com_err.h" (typedef conflict) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9792 dc483132-0cff-0310-8789-dd5450dbe970
* Windows/NT integration (V1_0_WIN32_BRANCH merge)Richard Basch1997-02-065-2/+100
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9788 dc483132-0cff-0310-8789-dd5450dbe970
* New V2 API + Win16/Win32 supportRichard Basch1997-02-0611-413/+627
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9782 dc483132-0cff-0310-8789-dd5450dbe970
* update to autoconf-2.12Tom Yu1996-12-2441-10015/+4013
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9689 dc483132-0cff-0310-8789-dd5450dbe970