| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Window-designer |
> Another thing to watch out for in Borland is that replacing > individual functions of the run-time library will sometimes fail > because of ANSI violations. For example, replacing tmpnam() will > fail because the original version of tmpnam() calls a private > (pascal) function __MKNAME(), and fclose() calls __MKNAME() directly > rather than properly calling tmpnam(). As a result, file created > with tmpfile() are created using your replacement tmpnam(), but are > never deleted because fclose() gets the wrong name. I consider that > a bug, while Borland considers it an optimization. Of course, you > can try to replace __MKNAME(), but its calling parameters change > with different versions of the compiler, and its pascal calling > convention causes that to have catastrophic effects on the stack... Eeew. Glad there's no code in this library that opens files, etc. For that, i'm using mainly iostreams. I just hope Borland hasn't messed that up, too. ___ X KWQ/2 1.2g NR X Clinton: A 200-dollar haircut on a 29-cent head. --- Maximus/2 2.02* Origin: OS/2 Shareware BBS, Fairfax, VA: 703-385-4325 (1:109/347) SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430 SEEN-BY: 711/807 808 809 934 942 949 712/353 515 713/888 800/1 7877/2809 @PATH: 109/347 2 7 3615/50 229/2 12/2442 711/409 808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.