Opened 10 years ago

Closed 9 years ago

Last modified 8 years ago

#1063 closed bug (fixed)

hReady should probably return False at the end of a file

Reported by: igloo Owned by: igloo
Priority: normal Milestone:
Component: libraries/base Version: 6.6
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case: hReady001
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

hReady should probably return False at the end of a file, but in GHC it returns True.

Change History (5)

comment:1 Changed 9 years ago by ross

According to the H98 Report, S21.9.1, hReady and hWaitForInput should fail with isEOFError in this situation. False seems wrong: some programs will keep waiting forever.

comment:2 Changed 9 years ago by igloo

Owner: set to igloo

Good point, thanks

comment:3 Changed 9 years ago by igloo

Resolution: fixed
Status: newclosed

Fixed

comment:4 Changed 8 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:5 Changed 8 years ago by simonmar

Operating System: UnknownUnknown/Multiple
Note: See TracTickets for help on using tickets.