🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #901

TopSpeed M2 WrBin bug fix

#901
From: S.J. Lovatt
Date: Sun, 08 Jul 1990 21:07
34 lines
1630 bytes
I've just sent off a bug report and correction to JPI as follows, and I
thought fellow TS M2 users on the net would be interested:

Bug Fix - JPI TopSpeed M2 Rel 1.04b

Symptom:

When using FIO.WrLn, I found that it was producing: CR CR LF
... rather than CR LF, as it should.

Solution:

The problem was traced to FIO.WrBin, where the procedure CLB.write was
called to do the actual writing. Elsewhere, this procedure was called as:

CLB._write     ... but here, it was called as:    CLB.write

... so I changed the reference to CLB.write to CLB._write, and re-made the
library by making RMT_M2A.LIB (I have been using the multi-thread model).
This resolved the problem, and probably a number of others, since all of
the WrXXXX routines call WrBin.

Disclaimer for the net: While I believe this solves the problem above, and
probably others, neither I nor anyone (or any organisation) associated
with me takes any responsibility for any unpleasant consequences of using
this fix.

- Simon

-- 
Simon Lovatt            | S.J.Lovatt@massey.ac.nz |
Dept of Biotechnology   |                         |
Massey University, N.Z. |                         |
Technical Details
Message-ID: <831@massey.ac.nz>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!comp.vuw.ac.nz!massey.ac.nz!SLovatt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!comp.vuw.ac.nz!massey.ac.nz!SLovatt
From: SLovatt@massey.ac.nz (S.J. Lovatt)
Newsgroups: comp.lang.modula2
Subject: TopSpeed M2 WrBin bug fix
Summary: TS M2 bug fix: Replace CLB.write with CLB._write in FIO.WrBin
Keywords: TopSpeed Modula-2
Message-ID: <831@massey.ac.nz>
Date: 8 Jul 90 21:07:18 GMT
Organization: Massey University, Palmerston North, New Zealand
Lines: 34
X-Reader: NETNEWS/PC Version 2.1