This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
RE: Setup: LogFile::exit
- From: "Gary R. Van Sickle" <g dot r dot vansickle at worldnet dot att dot net>
- To: "Cygwin-Apps" <cygwin-apps at sources dot redhat dot com>
- Date: Tue, 4 Mar 2003 02:10:11 -0600
- Subject: RE: Setup: LogFile::exit
> On Sun, 2003-03-02 at 13:30, Gary R. Van Sickle wrote:
> > Rob,
> >
> > LogFile::exit() actually exit()s Setup, i.e. main() never returns under any
> > circumstances. This doesn't seem like a good thing to me; it's not
> at all clear
> > to me why a logging object should as a matter of course be responsible for
> > terminating the program. Mind if I dink with it, or am I missing something?
>
> static object destructors. Get those working (under mingw gui apps), and
> we can dink with it.
>
How about just replace it with a flush() member?
--
Gary R. Van Sickle
Brewer. Patriot.