TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: Greg Law 72130,23 (X)
from: Robert Heller 71450,3432
date: 1990-11-17 01:21:01
subject: #8154-Reading 68000 disks

#: 8264 S12/OS9/68000 (OSK)
    17-Nov-90  01:21:01
Sb: #8154-Reading 68000 disks
Fm: Robert Heller 71450,3432
To: Greg Law 72130,23 (X)

Greg:
    I know how those stray pointers/indexes can really screw you up in
interesting and bizzare ways.  I wrote this program to run on our DECStations
and the program had a bogus array index problem.  The wierdness was this: when
the program was compiled and run on a Sun4, it appeared to work ok.  It also
worked on the DECStations, when I was writing to a NFS mounted VMS disk, but
trashed the output file when writing to either a local DECStation disk or a NFS
mounted DECStation disk (differently trashed).  The problem was my bogus index
was walking on the buffer allocated and used by fwrite() and a different amount
of buffering was being used for different logical output devices and I was
randomly lucking out on the Sun and when writing to the VMS disk.
                        Robert

SOURCE: compuserve via textfiles.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™.