JoshCheek / seeing_is_believing

Displays the results of every line of code in your file
1.31k stars 54 forks source link

Large unread DATA segment blows it up #21

Closed JoshCheek closed 10 years ago

JoshCheek commented 10 years ago

Ruby will stop reading a file with a large data segment, causing it to blow up because it closed the pipe. Explanation of the situation at https://bugs.ruby-lang.org/issues/9583#note-1

SiB should probably just rescue a broken pipe and call it good Syntax (can't think of any other reason this would happen).