This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: [setup and gcc3] Revised patches - now with ChangeLog!
- From: "Max Bowsher" <maxb at ukf dot net>
- To: <cygwin-apps at cygwin dot com>
- Date: Thu, 7 Nov 2002 13:07:34 -0000
- Subject: Re: [setup and gcc3] Revised patches - now with ChangeLog!
- References: <Pine.CYG.4.44.0211051048280.1988-100000@MORDOR>
Pavel Tsekov <ptsekov@gmx.net> wrote:
> On Mon, 4 Nov 2002, Max Bowsher wrote:
>
>>>> Jason Tishler <jason@tishler.net> wrote:
>>>>> What about the attached?
>>>>> 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.
>>
>>> On Mon, Nov 04, 2002 at 08:05:08PM -0000, Max Bowsher wrote:
>>>> Inlined:
>>>> -LogSingleton::LogSingleton(){}
>>>> +LogSingleton::LogSingleton() : ostream(rdbuf()){}
>>>>
>>>> Certainly looks less hackish than mine.
>
> But doesn't make any sense. Why call rdbuf() when it just returns the
> internal streambuf pointer i.e. the one which you want to set.
Oops. It also instantly crashes. I compiled it, but didn't get around to
running it before.
Sorry.
Max.