tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Tom <tom () homer ! bus ! miami ! edu>
To: tru64-unix-managers
Subject: Date/time patch--accounting, too?
Date: Fri, 23 Feb 1996 06:37:16 +0000	[thread overview]
Message-ID: <96076329121438.tru64-unix-managers.marc@archive.invalid> (raw)


	Does this patch recently posted correct problems with total time 
keeping for accounting?  As I posted some time ago, a user on a nine hour 
session was reported as about a half an hour.  Thanks

____________________________________________________________________

Tom Leffingwell	       	       Office: SBA 211		      	   
Systems Manager 	       Office Phone: (305) 284-1771        
Network Security	       Email: tom@homer.bus.miami.edu	       

School of Business	     	   
University of Miami  		 
____________________________________________________________________


On Fri, 23 Feb 1996, CSC UNIX support account wrote:

> Dear OSF managers,
> 
> A number of timekeeping problems have recently been identified and 
> fixed in Digital UNIX.  Due to the urgency of these problems, the 
> Sydney CSC has made the patches available on the internet at:
> 
>    ftp://gatekeeper.digital.com.au/incoming/clock_patches_update/
> 
> Without this patch the following behavior will be observed:
> 
> 1) The 'date' command rejects February 29, 1996 (or any other leap
>    year) as a valid date.
> 2) When the system time is changed with the 'date' to any date in March
>    of a leap year and then rebooted, the system clock will lose 
>    one day.
> 
> The first problem is the result of the libc routine strptime not recognising
> February 29th of a leap year as a valid date.  The 'date' command makes use
> of strptime in the processing of the time.  The problem is fixed in Digital
> Unix V3.2c and later and corrected by patch OSF300-234 for V3.0, OSF305-234
> for V3.0b, OSF-320-214 for V3.2, and OSF3250-32191 for V3.2b.  These are
> already available from the CSC, unfortunately, the README documentation does
> not point out the implication of this defect. 
> 
> The second problem is the result of an improper check for February of a leap
> year in the kernel routine resettodr which is found in the kernel module
> clock.c.  The uncorrected routine will fail to add a days worth of seconds to
> the TOY clock during the month of March of a leap year when adjustment to the
> system time is made.  USEG has prepared an interim fix for this problem. 
> Corrections for V3.0, V3.0b, V3.2, V3.2b, V3.2c and V3.2d can be found in:
> 
>     ftp://gatekeeper.digital.com.au/incoming/clock_patches_update/
> 
> Regards
> Allan Small
> Principal Software Specialist
> Digital MCS
> 

                 reply	other threads:[~1996-02-23  6:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox