bartop

palmoswerks ARCHIVE
Palm OS programming tips from a (former) CodeWarrior insider

header

Navigation

Search
Home
About
Stories
Stuff I Like
Articles
PilRC
CodeWarrior
palmos.techwood.org
DevTools List
Palm OS Dev FAQ

 Permanent link to archive for 5/31/02.   Friday, May 31, 2002 daytail

A long long time ago...

We got a bug report today about a problem with unsigned 64-bit division and the 8.2 patch. After an investigation, I found the bug: its a signed type error that got into the long long division code when I was getting the runtime library to built without implicit conversion warnings back in December.

The fix is pretty easy. In LongLong68K.c, find the function __rt_divmod64 at line 222. The first line of this function declares four variables as long. Change this type to unsigned long, then rebuild all the runtime libraries.

I've looked through the rest of the changes made to this file, and didn't see any other cases where the code seemed suspicious. We will include this fix in the 8.3 patch, but in the meantime, feel free to apply this micro patch.

We're sorry for the mistake, and thanks to the user who reported this to us today. I wish we had caught it before 8.2 went out.

brought to you by weblogger.com

 
May 2002
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Apr   Jun


Send feedback to combee@techwood.org
Copyright © 2004 Benjamin L. Combee
Palm OS is a registered trademark of PalmSource, Inc.
Metrowerks and CodeWarrior are registered trademarks of Metrowerks Inc.

The views expressed on this website/weblog are those of mine alone and do not necessarily reflect the views of PalmSource or Metrowerks.

This is a Manila Site

qwertYAK / frobnovich