home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
RUKC10.ZIP
/
BORLAND.ZIP
/
BORLAND.FIX
< prev
next >
Wrap
Text File
|
1993-03-06
|
977b
|
19 lines
06-Mar-93
RUCKUS Borland C compiler patch-chh.
All Borland C compilers from TC to the current BC will not handle DOS INT48
memory allocations to be mixed with Borland's C runtime _malloc. In medium
model, this is not a problem (shouldn't be), however, in large and huge models
it Borland's _malloc gets lost. This problem does not present itself in MS C,
or in any other C compilers that I'm aware of, so this patch is not needed
when using a C compiler other than one from Borland, but you may use it if
you feel more comfortable in using the runtime's _malloc and _free rather
than having RUCKUS use DOS INT48.
What to do? Simple, just run BORLAND.BAT. This executes LIB.EXE to create
two new LIBs called BUCKMIDI.LIB and BUCKDAC.LIB. These new library files
are exactly the same as the original files except for the new memory
allocation module. If you link to Borland's runtime, you'll need to use
the BUCK*.LIB files. You can rename them if you want.