diff options
author | Theodore Tso <tytso@mit.edu> | 1995-03-24 00:00:36 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1995-03-24 00:00:36 +0000 |
commit | 6fde91238272451862148b5107cbf01898086525 (patch) | |
tree | 2ef30aa253b8fc6d7d29e7fc0e7f72fa0bd3caaa | |
parent | 6c28f20fe5a77440e20e093c9a0aaaf935841c5b (diff) | |
download | krb5-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
-rw-r--r-- | src/util/et/ChangeLog | 6 | ||||
-rw-r--r-- | src/util/et/com_err.c | 3 |
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 } |