summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-03-24 00:00:36 +0000
committerTheodore Tso <tytso@mit.edu>1995-03-24 00:00:36 +0000
commit6fde91238272451862148b5107cbf01898086525 (patch)
tree2ef30aa253b8fc6d7d29e7fc0e7f72fa0bd3caaa /src/util
parent6c28f20fe5a77440e20e093c9a0aaaf935841c5b (diff)
downloadkrb5-6fde91238272451862148b5107cbf01898086525.tar.gz
krb5-6fde91238272451862148b5107cbf01898086525.tar.xz
krb5-6fde91238272451862148b5107cbf01898086525.zip
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
Diffstat (limited to 'src/util')
-rw-r--r--src/util/et/ChangeLog6
-rw-r--r--src/util/et/com_err.c3
2 files changed, 9 insertions, 0 deletions
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 <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
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
}