ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/timer_unix.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/timer_unix.cpp (file contents):
Revision 1.3 by cebix, 1999-10-15T14:50:39Z vs.
Revision 1.4 by cebix, 1999-10-15T15:06:55Z

# Line 57 | Line 57 | uint32 TimerDateTime(void)
57          time_t utc_now = time(NULL);
58   #if defined(__linux__) || defined(__SVR4)
59          long tz = timezone;
60 <        time_t local_now = uct_now - tz;
60 >        time_t local_now = utc_now - tz;
61          if (daylight)
62                  local_now += 3600;
63   #elif defined(__FreeBSD__) || defined(__NetBSD__)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines