http://www.the-infinite.org/lists/romlist/2002/04/msg00198.html

I just have something in update.c to see if it's a new day every so often...
and I just noticed a potential bug in my code looking at the old message :)

  if (!fp)
    perror(file);
  else
  {
    dup2(fileno(fp), STDOUT_FILENO);
    dup2(fileno(fp), STDERR_FILENO);
  }
  fclose(fp);  // oops still trying to close it even if it's null...

--Palrich.

On Wednesday 29 May 2002 10:24 am, Michael Gerner Andreasen wrote:
> I on the 1th of the month logs on and I quit the sameday,
> then if nobody goes on/off until the 3th then I will not have a file for
> the 2th off the mouth.

Reply via email to