On Wed, Nov 26, 2014 at 3:57 PM, Jan Nijtmans <jan.nijtm...@gmail.com> wrote:
> > Fix here: > <http://www.fossil-scm.org/index.html/info/156ef9ec06> > Looking at the part which fetches the istty... (this was already there before this change) static int istty[2] = { -1, -1 }; if( istty[toStdErr] == -1 ){ istty[toStdErr] = _isatty(toStdErr + 1) != 0; } if( !istty[toStdErr] ){ /* stdout/stderr is not a console. */ return -1; } It seems to me that could reasonably be moved into the 'g' object and set up in main() (in non-server mode, anyway). ? -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users