home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best Objectech Shareware Selections
/
UNTITLED.iso
/
boss
/
data
/
foxp
/
007
/
pat4.doc
< prev
next >
Wrap
Text File
|
1992-12-14
|
2KB
|
48 lines
--------------------------------------------------------------------
Nanforum Toolkit v2.1 Patch #4 12/15/92
--------------------------------------------------------------------
Some C source code within FTTEXT.C contains some casts from longs
to ints that caused problems with files over 64K. In addition,
a return value has been added to ft_fskip(), so the syntax is:
FT_FSKIP( [ <nLines> ] ) -> nLinesSkipped
<nLines> is the number of lines to skip. Defaults to 1 if
not specified.
Returns the number of lines actually skipped.
As the older version of ft_fskip() had a nil return value, this new
syntax shouldn't break any existing code. But check! Thanks to
Glenn Belton for the enhancement.
To apply the patch, just replace FTTEXT.C in your NFSRC.ZIP with
the attached FTTEXT.C (if you downloaded the source code).
Then, you need a library utlitity (LIB.EXE comes with many versions
of DOS, and with most compilers, and can be downloaded from the MSL
forum on CompuServe as S12776.ARC). If you know what to do, simply
replace the FTTEXT.OBJ module with the new one that is included in
this patch file.
The procedure, for those not sure:
1. Make a safe copy of NANFOR.LIB. Hide it away.
2. Change to the directory where NANFOR.LIB is located.
3. Put FTTEXT.OBJ in the same directory as NANFOR.LIB.
4. Type
LIB NANFOR -+ FTTEXT;
That should do it.
Remember to report all strange stuff in Section 5 on Nanforum! If you
have any problems, please contact me so I can help you get them
fixed.
Glenn Scott [71620,1521]