Re: g_message and g_warning under Windows



Tor Lillqvist writes:
  int fd = open ("stdout.log", O_CREAT|O_WRONLY|O_TRUNC, 0666);
  dup2 (fd, 2);

Argh, "stdout.log" is of course here a bit silly name to use as it
then is used for stderr. Sorry for the confusion ;-)

--tml





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]