diff options
author | Edward Z. Yang <ezyang@cs.stanford.edu> | 2014-10-09 21:38:11 -0700 |
---|---|---|
committer | Edward Z. Yang <ezyang@cs.stanford.edu> | 2014-10-09 21:38:19 -0700 |
commit | 2f639ffe09dd24d8648363b567de2d7caa39db99 (patch) | |
tree | e9d20f284903563cbdfed76c76ca976d0474b69d /html-test/src/Bug188.hs | |
parent | a65d2131647e010608d2a1956116a0012946838f (diff) |
Fix use-after-close lazy IO bug
Make `getPrologue` force `parseParas dflags str` before returning. Without this,
it will attempt to read from the file after it is closed, with unspecified and
generally bad results.
Signed-off-by: David Feuer <David.Feuer@gmail.com>
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Diffstat (limited to 'html-test/src/Bug188.hs')
0 files changed, 0 insertions, 0 deletions