From 1c6a5bb95e81e9a2dfffe92fae8987097a88091d Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:27:51 +0000 Subject: [PATCH] lilypond-0.0.23 --- src/debug.cc | 8 +++++++- src/scores.cc | 2 +- test.tex | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/debug.cc b/src/debug.cc index ea0cb4b8c4..228f7c7019 100644 --- a/src/debug.cc +++ b/src/debug.cc @@ -7,7 +7,13 @@ #include "vector.hh" Dstream monitor(&cout,".dstreamrc"); -ostream * nulldev = new ofstream("/dev/null"); +ostream * nulldev =0; + +struct _Dinit { + _Dinit() { nulldev = new ofstream("/dev/null");} + ~_Dinit() { delete nulldev; } +} dinit; + /* diff --git a/src/scores.cc b/src/scores.cc index 1b7b6558de..bdd5371645 100644 --- a/src/scores.cc +++ b/src/scores.cc @@ -5,7 +5,7 @@ static Array score_array_global; -static String outfn="lelie.uit"; +static String outfn="lelie.out"; // todo: check we don't overwrite default output. void diff --git a/test.tex b/test.tex index b6bcb4fe13..b55575709d 100644 --- a/test.tex +++ b/test.tex @@ -1,3 +1,3 @@ \input lilyponddefs -\input lelie.uit +\input lelie.out \vfil\bye \ No newline at end of file -- 2.39.5