From: Theodore Tso Date: Fri, 24 Mar 1995 00:00:36 +0000 (+0000) Subject: Fixed breakage introduced by windows port. com_err() is supposed to X-Git-Tag: krb5-1.0-beta5~487 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6fde91238272451862148b5107cbf01898086525;p=krb5.git Fixed breakage introduced by windows port. com_err() is supposed to print a newline at after printing the error message! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5206 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index bf6bfa038..1a4fb36bc 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,3 +1,9 @@ +Thu Mar 23 19:00:03 1995 Theodore Y. Ts'o + + * 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 diff --git a/src/util/et/com_err.c b/src/util/et/com_err.c index 4ed2472a6..43b315264 100644 --- a/src/util/et/com_err.c +++ b/src/util/et/com_err.c @@ -70,6 +70,9 @@ static void MessageBox (NULL, errbuf, "Kerboros", MB_ICONEXCLAMATION); #else fputs (errbuf, stderr); + /* should do this only on a tty in raw mode */ + putc('\r', stderr); + putc('\n', stderr); fflush(stderr); #endif }