[setup and gcc3] Revised patches - now with ChangeLog!

Max Bowsher maxb@ukf.net
Mon Nov 4 12:05:00 GMT 2002


Jason Tishler <jason@tishler.net> wrote:

> What about the attached?

Inlined:
--- LogSingleton.cc 4 May 2002 12:15:55 -0000 2.1
+++ LogSingleton.cc 4 Nov 2002 19:37:38 -0000
@@ -30,7 +30,7 @@ ostream& endLog(ostream& outs)
 
 LogSingleton * LogSingleton::theInstance(0);
 
-LogSingleton::LogSingleton(){}
+LogSingleton::LogSingleton() : ostream(rdbuf()){}
 LogSingleton::~LogSingleton(){}
 
 LogSingleton &

>  Note that I only tested setup.exe under
> Cygwin gcc 2.95.3-5 but I also tried something similar under Linux
> gcc 3.x. 

Certainly looks less hackish than mine.

Max.



More information about the Cygwin-apps mailing list