| |    | 85019 packages online | 
 | 
|  | 
| 
 | 
| dev/c/MaxonCPPfix.lha |  |  | | No screenshot available | 
| 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) |  | Type: | dev/c |  | Version: | 1.0 |  | Architecture: | m68k-amigaos |  | Date: | 2000-01-26 |  
| Download: | dev/c/MaxonCPPfix.lha - View contents |  | Readme: | dev/c/MaxonCPPfix.readme |  | Downloads: | 1501 |  
 |  | 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 <stoecker@rcs.urz.tu-dresden.de> 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).
 |  | 
 Contents of dev/c/MaxonCPPfix.lha
 PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                  638    1165  54.8% -lh5- afba Jan 27  2000 MaxonCPPfix/MaxonCPPfix.readme
[generic]                  114     128  89.1% -lh5- 0671 Jan 26  2000 MaxonCPPfix/remove.o
[generic]                  662     960  69.0% -lh5- 9601 Jan 24  2000 MaxonCPPfix/strftime.o
[generic]                  253     542  46.7% -lh5- 938a Jan 26  2000 MaxonCPPfix/time.h
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         4 files    1667    2795  59.6%            Jan 26  2000
 | 
 |  | 
|  | 
| Page generated in 0.03 seconds | 
| Aminet © 1992-2024 Urban 
Müller and the Aminet team.
Aminet contact address: <aminet  aminet net> |