summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2002-08-18 15:22:52 +0000
committerJan Nieuwenhuizen <janneke@gnu.org>2002-08-18 15:22:52 +0000
commit658b09d1f17d9839ae58b7411391b907be4de926 (patch)
treee50db3ee60f699754e63c02d95a7153afd62aa10
parent1a7d90c5d5d1136264b76c38710a531b6780b4d6 (diff)
* lily/input.cc (message):
* flower/warn.cc (message): Flush output.
-rw-r--r--ChangeLog3
-rw-r--r--flower/warn.cc1
-rw-r--r--lily/input.cc1
3 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 030214c4c7..41ee7239ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2002-08-18 Jan Nieuwenhuizen <janneke@gnu.org>
+ * lily/input.cc (message):
+ * flower/warn.cc (message): Flush output.
+
* po/lilypond.pot: Run make po-replace.
* Documentation/user/GNUmakefile (LILYPOND_BOOK_FLAGS): be anal
diff --git a/flower/warn.cc b/flower/warn.cc
index a0a36a8aa8..a987c14d4a 100644
--- a/flower/warn.cc
+++ b/flower/warn.cc
@@ -16,6 +16,7 @@ void
message (String s)
{
fputs (s.to_str0 (), stderr);
+ fflush (stderr);
}
void
diff --git a/lily/input.cc b/lily/input.cc
index 381907d635..e41b16dbf6 100644
--- a/lily/input.cc
+++ b/lily/input.cc
@@ -79,6 +79,7 @@ Input::message (String message_string) const
str += source_file_->error_string (defined_str0_);
}
fprintf (stderr, "%s\n", str.to_str0 ());
+ fflush (stderr);
}
void