[setup and gcc3] Revised patches - now with ChangeLog!
Jason Tishler
jason@tishler.net
Mon Nov 4 13:02:00 GMT 2002
Max,
On Mon, Nov 04, 2002 at 08:05:08PM -0000, Max Bowsher wrote:
> 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.
Does it work for you under Cygwin gcc 3.x?
Thanks,
Jason
--
GPG key available on key servers or http://www.tishler.net/jason/gpg.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20021104/f47d0f1c/attachment.sig>
More information about the Cygwin-apps
mailing list