It's because you are using 'long' as the data type for time-based variables. This is not valid under most unixes.
Change all the variables passed to any time function (ctime(), localtime(), etc) to data type time_t and that should resolve it. Jason > -----Original Message----- > From: Rainer Roomet [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 12, 2004 4:59 AM > To: [email protected] > Subject: Question about cygwin and time > > Hello Everyone. > > I have question about the Cygwin time. At home on the windows > I use cygwin to compile my MUD. But when i start the MUD the > system times is XX.XX.XX. > 1970 year. How i can change it to real time ? Or i can't ? > > Any ideas ? > > telnet://irc.nohik.ee:4242 > -- Ranka > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom >

