Re: [offtopic] GDB

From: George (greerga@CIRCLEMUD.ORG)
Date: 08/28/98


>>  >error opening log file stderr: Bad file number
>>
>>  bpl14?
>
>Yes, I am using bpl14. I didn't really think that was important though. Shows
>how much I know :-)

Change the first "w" below in comm.c:

  if (LOGNAME == NULL || *LOGNAME == '\0')
    logfile = fdopen(STDERR_FILENO, "w");
  else
    logfile = freopen(LOGNAME, "w", stderr);

to "a" and let me know if that works.

If not, specifiy a LOGNAME in config.c

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/ (not done) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST