On Thu, Feb 02, 2017 at 09:33:32PM +0200, Lubomir I. Ivanov wrote:
> On 2 February 2017 at 21:12, Lubomir I. Ivanov <[email protected]> wrote:
> >  const char *location = logfile ? "subsurface.log" : "CON";
> >
> > console_desc.out = freopen(location, "w", stdout);
> > console_desc.err = freopen(location, "w", stderr);
> 
> ^ this *probably* won't work for stderr, though.

That sucks as the debug output all goes to stderr :-(

/D
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to