Re: [CODE][NEWBIE] BPL 17 Bundle posted by Del

From: Torgny Bjers (tb@sbbs.se)
Date: 07/24/00


-----Original Message-----
From: Patrick Dughi <dughi@imaxx.net>
To: CIRCLE@POST.QUEENSU.CA <CIRCLE@POST.QUEENSU.CA>
Date: den 24 juli 2000 16:22
Subject: Re: [CIRCLE] [CODE][NEWBIE] BPL 17 Bundle posted by Del


>> Spite the fact that I am a Windows user, on my own and all, someone might
>> know why this occurs when I compile in MSDEV 97 (C++ 5.0):
>>
>> diskio.c
>> diskio.c(144) : error C2039: '_fileno' : is not a member of '_iobuf'
>> diskio.c(144) : warning C4047: 'function' : 'int ' differs in levels of
>> indirection from 'struct stat *'
>> diskio.c(144) : warning C4024: 'fstat' : different types for formal and
>> actual parameter 1
>> diskio.c(144) : error C2198: 'fstat' : too few actual parameters
>> diskio.c(324) : error C2039: '_fileno' : is not a member of '_iobuf'
>> diskio.c(324) : warning C4047: 'function' : 'int ' differs in levels of
>> indirection from 'struct stat *'
>> diskio.c(324) : warning C4024: 'fstat' : different types for formal and
>> actual parameter 1
>> diskio.c(324) : error C2198: 'fstat' : too few actual parameters
>>
>        Search the list archives for "_fileno" and perhaps "diskio.c".
>This problem has come up at least 3 times in the last 3 weeks, and has
>been discussed and the solution listed multiple times.
>
>                                                PjD


I have fixed that, solved it on my own (by trying to use _file) but now the
mud crashes after I have created the first char, saved, quit, and then when
I login again I get the following syserr:

Jul 24 18:40:30 :: SYSERR: Couldn't open alias file 'rgny.sbbs.se] has
connected. ]' for (null).
SYSERR: read_aliases: Invalid argument
Jul 24 18:40:30 :: SYSERR: NULL pointer or empty string passed to
get_filename(), 00000000 or 0012D908.

It seems that it gets something wrong here, dunno where... Can anyone help
me out?

Kind regards,
Torgny Bjers (Artovil)


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



This archive was generated by hypermail 2b30 : 04/10/01 PDT