Re: [offtopic] GDB

From: Matt McLaughlin (mattm@SATYRS.ENGR.CSUFRESNO.EDU)
Date: 08/29/98


On Fri, 28 Aug 1998, George wrote:
>On Fri, 28 Aug 1998, Kieran Sobel wrote:
>
>>The other day I set out the debug my mud using GDB. But, alas, technology just
>>don't work. When I tried to run circle.exe I got the error:
>>
>>error opening log file stderr: Bad file number
>
>bpl14?
>
>--

  Ok.. why dont you to into utils.c or wherever its listed and look for
the log() function.. if im not mistaken..
there should be a part that goes   fprintf(stderr, " string ", format);
So this will write to the std error stream where you can view system
messages if running on console.

  Give that a shot!


B I O - H A Z A R D   I N D U S T R I E S    (c) 1994 -DarkLord


     +------------------------------------------------------------+
     | 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