CODE: time computation is limited

From: Janvier D. Anonical (jayit@yahoo.com)
Date: 11/30/00


The date computation seems limited to the length of the data type. In the
code
mud_time_passed() under utility.c, the data type of secs is long. Since this
is the case, when secs exceeds the data type range, an overflow will occur
thus limiting the date to a certain value (in my case, when I tested it, I
got only
to year 776 so that mud_time_passed() can give me a correct value).

Is there any way to fix this?

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



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