From 6fde91238272451862148b5107cbf01898086525 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 24 Mar 1995 00:00:36 +0000 Subject: [PATCH] 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 --- src/util/et/ChangeLog | 6 ++++++ src/util/et/com_err.c | 3 +++ 2 files changed, 9 insertions(+) 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 } -- 2.26.2