Date: Tue, 13 Jun 2000 13:27:35 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Tim Updegrove cc: djgpp AT delorie DOT com Subject: Re: uclock failure at midnight In-Reply-To: <394556C2.4AB83020@lucent.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 12 Jun 2000, Tim Updegrove wrote: > My program runs 12 seconds but if it tries to run through midnight then > it fails because a uclock() value after midnight is less than a uclock() > value before midnight. `uclock' is written to handle the midnight case, so it should work. Please post the shortest test program that can be used to reproduce the problem. What version of DJGPP is this, btw? If it's 2.02, please upgrade to v2.03 where `uclock' is more reliable on Windows. Are you running this on DOS or on Windows?