Skip to content

Reading multiple files fails

The atttached zip file contains the file ReadALot.lhs, 
which reads a series of files (these files are listed 
in dir.dat). The program reads the first and the last 
(non-empty) line of each file and writes them, together 
with the filename in the output file result.dat.

The problem with the compiled program is, that the last 
lines are not really the last lines of the files; they 
are also not complete.

More info.:
This program is compiled under Windows 98, using the 
enclosed compile.bat. The stdout messages from the 
compiler can be found in compile.log; the stderr 
messages can not be redirected under Windows 98.
All files needed for running the program are in the 
attached file.
Trac metadata
Trac field Value
Version 6.0.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedWon'tFix
Component None
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information