Short: Bugfixes for Maxon C++ 3.1 Author: stoecker@rcs.urz.tu-dresden.de (Dirk Stoecker), TetiSoft@apg.lahn.de (Detlef Wuerkner) Uploader: TetiSoft@apg.lahn.de (Detlef Wuerkner) Version: 1.0 Type: biz/patch Maxon C++ has a Y2K-Bug: Its strftime() function outputs "10" instead of "00" when called with argument "%y", and "20" instead of "2000" when called with argument "%Y" since 2000-01-01. There are two reasons for this strange numbers: Leading and middle zeros are stripped (2000->20), and the leftmost position is not stripped (100->10). Since it seems that Maxon doesn't support their amiga products anymore, I decided to search the bug and fix it. Dirk Stoecker sent me two more bugfixes for inclusion in the archive (Thanks, Dirk!). The first corrects a typo in time.h (tm_idst changed to tm_isdst), the second is a fixed remove() function, which saves two more registers to avoid a problem when creating temporary files. To install, just copy strftime.o and remove.o to the lib directory and time.h to the include directory of Maxon C++ (Don't forget to backup the old versions first since you never know). ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 1165 638 45.2% 27-Jan-00 00:23:02 +MaxonCPPfix.readme 128 114 10.9% 26-Jan-00 23:44:32 +remove.o 960 662 31.0% 24-Jan-00 23:37:04 +strftime.o 542 253 53.3% 26-Jan-00 23:44:32 +time.h -------- ------- ----- --------- -------- 2795 1667 40.3% 27-Jan-100 20:41:32 4 files