2000-05-07  Miro Jurisic  <meeroh@mit.edu>

	* com_err.c (default_com_err_proc): use strncpy
	where strncpy was meant (typo in Nalin's patch)

2000-05-01  Nalin Dahyabhai  <nalin@redhat.com>

	* com_err.c (default_com_err_proc) [_MSDOS || _WIN32 ||
	macintosh]: Don't overflow buffer "errbuf".

2000-02-23  Ken Raeburn  <raeburn@mit.edu>

	* Makefile.in (com_err.o): Depends on com_err.c.

1999-10-28  Alexandra Ellwood  <lxs@mit.edu>

	* error_message.c, error_table.h: Added support to use ErrorLib 
	to get MIT Support Library and Mac OS Toolbox error codes 
	(similar to the way windows does it).

1999-10-26  Tom Yu  <tlyu@mit.edu>

	* Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES,
	LOCAL_INCLUDES such that one can override CFLAGS from the command
	line without losing CPP search patchs and defines. Some associated
	Makefile cleanup. [from wsanchez@apple.com]

1999-08-18  Miro Jurisic  <meeroh@mit.edu>

	* et.exp: Added et.exp, MacOS export file for com_err library

1999-06-15  Danilo Almeida  <dalmeida@mit.edu>

	* texinfo.tex: Get rid of control characters in text file.

Wed May 19 11:44:31 1999  Danilo Almeida  <dalmeida@mit.edu>

	* Makefile.in: Add windows build rules for putting header files in
		include dir.  Do cleanup of header for windows clean.

Mon May 10 15:27:07 1999  Danilo Almeida  <dalmeida@mit.edu>

	* Makefile.in: Do win32 build in subdir.

Mon Mar 15 16:01:56 1999  Tom Yu  <tlyu@mit.edu>

	* com_err.h: Fix GSS_DLLIMP.

Mon Feb  1 19:42:45 1999  Tom Yu  <tlyu@mit.edu>

	* et_c.awk: Fix to not depend on CPP symbol "unix".

	* et_h.awk: Fix to not depend on CPP symbol "unix".

1998-12-01  Theodore Ts'o  <tytso@rsts-11.mit.edu>

	* com_err.h, error_table.h, error_message.c: Use "#if
	        defined(MSDOS) || ..." instead of "#if
	        !defined(unix)", since not all Unix compilers define
		"unix".

1998-07-02  Theodore Ts'o  <tytso@rsts-11.mit.edu>

	* com_err.c (MacMessageBox): Change TextBox to TETextBox to match
		up with CodeWarrior changes.

Wed Feb 18 16:33:07 1998  Tom Yu  <tlyu@mit.edu>

	* Makefile.in: Remove trailing slash from thisconfigdir.  Fix up
	BUILDTOP for new conventions.

Wed Jan 28 17:54:57 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>

	* configure.in, Makefile.in: Remove CopySrcHeader from
		configure.in, and move functionality to Makefile.in

	* Makefile.in: Define BUILDTOP and thisconfigdir in the Makefile

Tue Oct  7 07:43:05 1997  Ezra Peisach  <epeisach@mit.edu>

	* Makefile.in (SRCS): Add $(srcdir) as prefix to srcs.

Mon Jul 21 12:00:24 1997  Ezra Peisach  <epeisach@mit.edu>

	* error_message.c (error_message): Mask error code with
		ERRCODE_MASK to handle case where 32bit ints are zero
		filed in the gssapi layer.

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

Tue Mar 18 15:07:40 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>

	* com_err.h: Add 'extern "C"' for C++ compatibility; also check for
		__cplusplus since some C++ compilers don't set __STDC__

Mon Mar  3 14:57:35 1997  Ezra Peisach  <epeisach@mit.edu>

	* error_message.c: Don't declare sys_nerr on Macintosh.

	* com_err.c: Fix MacMessageBox prototype.

Sat Mar  1 11:54:02 1997  Sam Hartman  <hartmans@luminous.MIT.EDU>

	* com_err.h: Do not declare com_err_hook extern if you want it
 	static in the source file. [383]
	

Sat Feb 22 12:18:47 1997  Richard Basch  <basch@lehman.com>

	* Makefile.in: Move list file construction to win-post.in

	* et_c.awk et_h.awk error_message.c com_err.c:
		Put back #ifdef unix, and also based it on AIX.
		We do NOT want the compatibility interface on any new
		architectures.  Since we have distributed Kerberos on
		AIX before, we need it there.  If newer Unix systems
		lack the #define, so be it... it doesn't matter.

Sat Feb 22 02:18:47 1997  Sam Hartman  <hartmans@tertius.mit.edu>

	* et_h.awk (char_shift): Avoid #ifdef unix
	* error_message.c: Remove #ifdef unix
	* com_err.c: Remove #ifdef unix

Sat Feb 22 00:34:05 1997  Sam Hartman  <hartmans@luminous.MIT.EDU>

	* Makefile.in (LIBMAJOR):  Bump to 3 so that the krb5 lib is preferred to the NetBSD system library.

Fri Feb 14 13:55:45 1997  Richard Basch  <basch@lehman.com>

	* com_err.c com_err.h error_message.c error_table.h et_c.awk et_h.awk:
		Removed experimental V2 API
		Added table register/deregister functions
		Only make the com_err_hook vars/funcs available on Unix
		Only expose _et_list on Unix

Tue Feb 11 13:31:49 1997  Richard Basch  <basch@lehman.com>

	* com_err.c: If the application is a console application, simply
		display the message to stderr. (win32)

Mon Feb 10 21:30:41 1997  Theodore Y. Ts'o  <tytso@mit.edu>

	* com_err.c, com_err.h (com_err_va): Fix broken Windows 16
		declaration.  (Should be KRB5_CALLCONV, and using ET_P)

Fri Feb  7 22:10:23 1997  Theodore Y. Ts'o  <tytso@mit.edu>

	* compile_et.c: Change the emitted name of the struct error_table
 		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.)

Fri Feb  7 19:03:07 1997  Richard Basch  <basch@lehman.com>

	* com_err.c com_err.h: Added old interface function com_err_va

Tue Feb  4 15:59:01 1997  Richard Basch  <basch@lehman.com>

	* Makefile.in com_err.h error_table.h et_c.awk error_message.c
		Corrected various declarations for Windows build

Wed Jan 29 17:32:23 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>

	* Makefile.in: Add rules to build test_et (for testing!)

	* com_err.h, error_table.h: Fixed up varargs/stdargs declarations
		Move definition of struct error_table into com_err.h, and 
		define first draft of the V2 API.  Removed the Windows
		specific declarations from error_table.h, since it's now
		safe to 

	* com_err.c, error_message.c, init_et.c, et_name.c: Added new
		V2 API's.  Cleaned up C code.  

	* test_et.c: Added new test case for error code 0

	* et_c.awk: Added __far for Windows 16 pointer.

	* internal.h: File removed, no longer used.

	* error_table.y: Add #include the header file "com_err.h"

Thu Nov 21 11:55:16 EST 1996    Richard Basch   <basch@lehman.com>

        * Makefile.in: win32 build
	* com_err.h error_table.h init_et.c internal.h
		Win32 support

Tue Dec 31 12:54:54 1996  Ezra Peisach  <epeisach@mit.edu>

	* Makefile.in (RELDIR): Add for new procedure.

Mon Dec 30 17:30:43 1996  Tom Yu  <tlyu@mit.edu>

	* Makefile.in:
	* configure.in: Update to use new library build procedure.

Mon Nov 18 20:37:19 1996  Ezra Peisach  <epeisach@mit.edu>

	* configure.in: Set shared library version to 1.0. [krb5-libs/201]

Wed Nov 13 19:19:08 1996  Tom Yu  <tlyu@mit.edu>

	* Makefile.in (clean-unix): Remove shared/*.

Thu Oct 17 18:24:50 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* error_message.c (error_message): Work around a compiler bug on
		the Alpha.

Thu Sep  5 21:31:07 1996  Theodore Y. Ts'o  <tytso@mit.edu>

	* et_c.awk: Change continuation processing so that it doesn't
 		depend on ANSI C string concatenation.  (No need for it,
 		since the .c file isn't designed for human consumption
 		anyway.)

Fri Aug 30 22:55:14 1996  Tom Yu  <tlyu@mit.edu>

	* internal.h: #ifdef NEED_SYS_ERRLIST -> #ifdef
		SYS_ERRLIST_DECLARED for sanity's sake.

	* error_message.c: cpp symbol police: HAS_FOO -> HAVE_FOO

	* configure.in: Fix up check for strerror; use autoconf
		conventions

Wed Jun 12 12:10:59 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>

	* error_table.h: For Win32, define away FAR and NEAR.

Mon Jun 10 21:54:09 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>

	* com_err.h:
	* error_table.h: Add Windows-32 ifdefs.  Change use of
		INTERFACE to KRB5_CALLCONV and KRB5_DLLIMP.  See
		ChangeLog entries for src/include/krb5.hin for more
		information.


	* vfprintf.c, internal.h, compile_et.c, et_c.awk, com_err.c:
	 	Change _WINDOWS to _MSDOS, and add check for _WIN32.

Sun May 12 01:13:02 1996  Marc Horowitz  <marc@mit.edu>

	* et_c.awk: deal with continuations in the input .et file.

Wed Mar 20 00:19:08 1996  Theodore Y. Ts'o  <tytso@dcl>

	* Makefile.in (SRCS): Fix SRCS definition so that it doesn't fool
		the Macintosh macfiles.sh Makefile generation script.

Tue Mar 12 22:34:10 1996  Ken Raeburn  <raeburn@cygnus.com>

	* configure.in: Use AC_HEADER_STDARG.

Sat Feb 24 18:50:03 1996  Theodore Y. Ts'o  <tytso@dcl>

	* error_message.c (HAS_STRERROR): Windows has strerror()

Wed Feb  7 00:19:17 1996  Theodore Y. Ts'o  <tytso@dcl>

	* Makefile.in (CCFILES): Checked in danw's changes to support
		building Makefiles for the Macintosh; use standard SRCS
		macro for the source files.

Fri Oct  6 22:06:48 1995  Theodore Y. Ts'o  <tytso@dcl>

	* Makefile.in: Remove ##DOS!include of config/windows.in.
		config/windows.in is now included by wconfig.

Mon Oct  2 15:22:01 1995  Theodore Y. Ts'o  <tytso@dcl>

	* error_message.c (error_message): Fix logic if #ifdefs for
		HAVE_STRERROR and HAVE_SYS_ERRLIST.  strerror() is used in
		preference to sys_errlist().

Mon Oct  2 11:16:32 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* configure.in (V5_MAKE_SHARED_LIB): Add version number 0.1 for
		library creation. 

	* Makefile.in (clean-unix): Remove DONE

Mon Sep 25 16:41:50 1995  Theodore Y. Ts'o  <tytso@dcl>

	* Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the
		Makefile. 

Wed Sep 20 12:00:00 1995	James Mattly <mattly@fusion.com>

	* com_err.c:  Mac UI improvements, added a hilite arround the default button,
		also made the window respond to enter, return, and escape keys.

Fri Sep 22 19:58:22 1995  Theodore Y. Ts'o  <tytso@dcl>

	* error_message.c (sys_nerr): Only define sys_nerr if we're on a
		Macintosh.  On those systems which use sys_nerr, it's an
		external variable, defined by libc.  Under Windows, it's
		apparently an cpp macro.

Mon Aug  7 19:22:52 1995  Theodore Y. Ts'o  <tytso@dcl>

	* Makefile.in (compile_et): Add $(SHELL) to invocation of
		config_script, so that the tree can build even after
		checked into a broken SCCS system.

Thu Jul 13 15:40:56 1995  Sam Hartman  <hartmans@tertius.mit.edu>

	* com_err.h: error_message should be const char * (as it is in
        error_message.c), not char const * (as currently presented).

Alspo, since error_message
ets declared const even on non-ansi compilers, set the return type that way so AIX cc doesn't barf.	

Wed Jul 12 12:37:24 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* error_message.c: Do not include stdlib.h unless it exists

Fri Jul 7 16:42:20 EDT 1995	Paul Park	(pjpark@mit.edu)
	* Makefile.in - Add DEPLIBS, needed by shared library rule.

Wed July  5 15:52:31 1995  James Mattly  <mattly@fusion.com>
	* com_err.[ch] added _MACINTOSH conditional
	* vsprintf.h added inclusion of stdarg.h for _MACINTSOH

Fri Jun 23 20:08:16 1995  Tom Yu  (tlyu@dragons-lair)

	* configure.in: fix typo; appended "all" rule needs two colons to
		keep gmake from breaking.

Thu Jun 22 16:14:25 1995  Tom Yu  (tlyu@dragons-lair)

	* error_table.h: reverse sense of KRB5_PROVIDE_PROTOTYPES

Fri Jun 23 10:50:14 EDT 1995	Paul Park	(pjpark@mit.edu)
	* Makefile.in - Change "./done" and "done" to DONE.  Shared library
		script requires "DONE".

Thu Jun 22 13:06:47 1995  Sam Hartman  <hartmans@tardis.MIT.EDU>

	* Makefile.in Changed libcom_err.a to libcom_err.$(STEXT), removed rule to clean it up on Unix as aclocal.m4 already inserts the rule.  If this breaks on Macs, please let me know how I should do this in the future.

	* configure.in: Changed to make libcom_err as a shared library.

Fri Jun  9 19:00:05 1995    <tytso@rsx-11.mit.edu>

	* configure.in: Remove standardized set of autoconf macros, which
		are now handled by CONFIG_RULES.

Thu Jun  8 11:26:09 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>

	* Makefile.in (install): Don't install compile_et.1; we're not
		installing the program, anyway.

Tue Jun  6 19:45:34 1995  Tom Yu  (tlyu@dragons-lair)

	* configure.in:
	* Makefile.in: fix make install

Fri Jun 2 18:05:16 1995 Keith Vetter (keithv@fusion.com)

	* error_message.c: better handling of Winsock errors.

Tue May  2 21:35:09 1995  Tom Yu  (tlyu@dragons-lair)

	* Makefile.in: remove spurious whitespace from blank line

Fri Apr 14 08:48:00 1995  Theodore Y. Ts'o  (tytso@dcl)

	* com_err.h: If FAR is not defined, define it away.

Thu Apr 13 16:02:24 1995 Keith Vetter (keithv@fusion.com)

        * com_err.c, compile_et.c, error_ta.h, et_c.awk, internal.h:
           __STDC__ conditionals also checks for the _WINDOWS define.

Wed Apr 5 16:25:35 1995 Keith Vetter (keithv@fusion.com)

	* com_err.h: added FAR to pointers in prototypes.

Wed Mar 29 08:56:47 1995  John Gilmore  (gnu at toad.com)

	* Makefile.in:  Fix up Mac makefile.
	* error_message.c:  For errno, use strerror if HAS_STRERROR.
	* configure.in:  Define HAS_STRERROR.

Thu Mar 23 19:00:03 1995  Theodore Y. Ts'o  <tytso@dcl>

	* com_err.c (default_com_err_proc): Fixed breakage introduced by
		windows port.  com_err() is supposed to print a newline at
		after printing the error message!

Wed Mar 22 11:34:09 1995 Keith Vetter (keithv@fusion.com)

	* com_err.c: added _WINDOWS equivalent condition to HAVE_STDARG_H
 	   since windows fakes autoconf by defining such constants in
	   k5-config.h which isn't included for this file.

Thu Mar 16 19:57:20 1995 Keith Vetter (keithv@fusion.com)

	* com_err.c: added missing INTERFACE on a prototype.
        * com_err.h: added _WINDOWS as an equivalent to __STDC__ since this
           file gets included by windows programs in which __STDC__ isn't defined.
        * makefile.in: added xxx-mac targets to mimic xxx-unix, and added
            copying com_err.h to src\include for the PC.

Wed Mar 16 17:30:00 1995 Keith Vetter (keithv@fusion.com)

	* com_err.h: problem with this file needing k5-config for windows
	   stuff but many application programs don't include it. So for
	   now I've put the windows stuff that is needed directly into it.

Wed Mar 15 23:02:14 1995 Keith Vetter (keithv@fusion.com)

	* com_err.c: made to work on the PC. Biggest changes was that
           the error message now gets built in a buffer and either gets
           printed to stderr or for Windows gets displays in a message box.
        * err_message.c: fixed up includes and some 32/16 bit ints.
        * et_name.c: changed two ints into longs.
        * com_err.h: added windows keyword INTERFACE to prototypes.
        * error_table.h: Added some windows specific defines since this
           source doesn't really know about k5-config.h. Also, added 
           prototype for error_table_name().
	* Makefile.in: PC rules to make com_err, err_message and et_name.

Tue Feb 28 13:23:58 1995  Theodore Y. Ts'o  <tytso@dcl>

	* error_table.h: Remove #ifdef STDC check to see if we should use
		const --- configure takes care of this.

Tue Feb 28 01:35:14 1995  John Gilmore  (gnu at toad.com)

	* com_err.3:  Document "com_err.h" rather than <com_err.h>.

Fri Feb  3 08:11:26 1995  Theodore Y. Ts'o  (tytso@dcl)

	* com_err.h: All routines defined in the com_err library should
		have extern before the prototypes.   (Required for SGI
		platform).

Wed Jan 25 20:48:50 1995  Mark Eichin  (eichin@tweedledumber.cygnus.com)

	* Makefile.in (SRCS): add com_err.c explicit dependency to work
	around VPATH bug in Solaris make. Also fix typo in comment.

Fri Nov 18 00:34:29 1994  Mark Eichin  <eichin@cygnus.com>

	* configure.in: add caching to perror check (from epeisach).

Fri Oct 21 21:06:48 1994    (tytso@rsx-11)

	* Makefile.in (SED): Don't specify an explicit pathname for sed.

Tue Oct 11 12:43:00 1994  Theodore Y. Ts'o  (tytso@dcl)

	* Makefile.in: Don't rm the awk and sed scripts during a make clean!

Thu Oct  6 19:39:11 1994  Theodore Y. Ts'o  (tytso@dcl)

	* compile_et.sh: Replace basename with sed -- more portable.

Mon Oct  3 17:27:28 1994  Theodore Y. Ts'o  (tytso@dcl)

	* Makefile.in:
	  configure.in: Don't try to compile compile_et.  Use awk/sed
	  	  version instead.  It's more apt to be portable, since it
		  doesn't use awk or sed.  :-(
	

Fri Sep 30 17:12:15 1994  Theodore Y. Ts'o  (tytso@dcl)

	* compile_et.c: Add declaration of error_message() manually.

	* internal.h: Use autoconf to determine whether or not to declare
		perror().

	* configure.in:
	  compiler.h:
	  internal.h:
	  compilet_et.c:
	  init_et.c: Let configure take care of removing const with AC_CONST.

Thu Sep  8 22:33:07 1994  Theodore Y. Ts'o  (tytso@pinata)

	* com_err.c (default_com_err_proc): Reversed order of \n\r to make
		jik happy.

Wed Jul 13 23:19:34 1994  Tom Yu  (tlyu at dragons-lair)

	* Makefile.in: nuke the libcom_err.a.bak stuff

Sun Jul  3 07:48:04 1994  Tom Yu  (tlyu at dragons-lair)

	* Makefile.in: cleaning up to not spew ignored errors

Wed Jun 22 18:47:36 1994  Mark Eichin  (eichin@tweedledumber.cygnus.com)

	* com_err.h: Only set STDARG_PROTOTYPES based on STDC if it isn't
	set already (clean up warnings.)

Wed Jun 22 17:55:48 1994  Mark Eichin  (eichin@cygnus.com)

	* Makefile.in (CP): set CP so CopySrcHeader actually works.

Tue Jun 21 00:20:44 1994  Tom Yu  (tlyu at dragons-lair)

	* Makefile.in: add "includes" to "all" dependencies

	* configure.in: should be CopySrcHeader

Mon Jun 20 21:59:37 1994  Tom Yu  (tlyu at dragons-lair)

	* configure.in: install com_err.h during build

