[DGD] Re: time fkun
Kevin Carpenter
kevinc at kplace.monrou.com
Sun Jul 12 16:55:58 CEST 1998
Recompiling DGD fixed the problem.
One note, for the 1.0.50 kernel I'm using, the definition of
"random" needed to be changed in /src/host/random.c to
"extern INT random...". There was a conflict between the definition
here and in stdlib.h.
Kevin C.
Felix A. Croes write:
>
> Kevin Carpenter <kevinc at kplace.monrou.com> wrote:
>
> > Heres a hopefully simple one:
> >
> > I recently moved my mud from a RedHat 4.2 Linux environmemt to a
> > RedHat 5.1 Linux environment. This was a binary pickup and move
> > of the entire mud account. All appears to be working fine, except:
> >
> > A ctime(time()) call is returning a time 5 hours into the future.
> >
> > Sounds like a timezone problem to me, but a "date" command at the
> > shell level reports things correctly.
>
> If this program:
>
> #include <time.h>
> main() { time_t t; time(&t); printf("%s", ctime(&t)); }
>
> shows the current time when executed, then it is a dynamic library
> problem: recompile DGD. Otherwise it's a system configuration problem.
>
> Dworkin
>
--
Kevin Carpenter
Kevin's Home Page: http://kplace.monrou.com/kevinc
(Expressing his comments from home in St. Louis, where this message originated)
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list