Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,873
    • Issues 4,873
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 457
    • Merge requests 457
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #187
Closed
Open
Created Oct 06, 2003 by hjvt@trac-hjvt

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
Assignee
Assign to
Time tracking