X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/2c8167e46c6417e44eb1697ff42c869213b8f1bd..e48bdb3989c1abbf1d6b3124502299cecae0bdb6:/writeout.cpp?ds=sidebyside diff --git a/writeout.cpp b/writeout.cpp index 54b8203..9a5409d 100644 --- a/writeout.cpp +++ b/writeout.cpp @@ -42,8 +42,7 @@ writeout::writeout(const string& wdir, const string& signature, } else{ buf = cout.rdbuf(); - logf.open("/dev/null"); - logbuf = logf.rdbuf(); + logbuf = cerr.rdbuf(); } out = new ostream(buf); log = new ostream(logbuf);