ocaml-batteries-team/batteries-included — pull request #589 by madroach (2014-09-20 13:38:57+00:00)
Title: translate exceptions No_more_input -> End_of_file

According to documentation these functions should return End_of_file, not BatInnerIO.No_more_input.