10 Jul 2000 sab39   » (Master)

cwinters: How about detecting whether you're running on NT and if so, closing STDERR and then re-opening it to a file? As in:

  if ($RUNNING_ON_NT) {
    close STDERR;
    open STDERR, ">>c:\\iis_is_dumb.txt" or do {
      print "Could not open error file: Fatal error";
      exit 1;
    }
  }

Setting the value of $RUNNING_ON_NT is left as an exercise for the reader... (because I don't know how to)

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!