delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/12/14/07:58:18

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3DFB2AE0.A609C912@phekda.freeserve.co.uk>
Date: Sat, 14 Dec 2002 12:58:08 +0000
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: XP delay() again - potential solution
References: <10212071847 DOT AA13093 AT clio DOT rice DOT edu> <004401c29e90$dc1ccf30$0100a8c0 AT p4> <004101c29f53$919af9f0$0100a8c0 AT p4>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Andrew Cottrell wrote:
> Try # 2:-
> 
> I haev hopefully incorporated all of the feedback from everyone in this
> attempt.
[snip]

I've committed the patch now. I made a couple of changes:

> + #define tick_per_day (24*60*60*10000/182)

Changed to TICK_PER_DAY, as agreed previously.

[snip]
> +             while (((r.x.cx << 16) + (r.x.dx & 0xffff)) <= end_tick)
[snip]

I got an signed-unsigned comparison warning, so I changed 0xffff to 0xffffUL,
since r.x.* are unsigned.

I also added the changelog entry I suggested before.

I had to apply the patch manually via cut'n'paste, so please check that it
looks sane. (It looked OK to me, but please double-check.)

Bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019