This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]