Closed mathias-lang-sociomantic closed 6 years ago
I don't really get why this fix works.
The other method throws on EOF. This ones return false
.
Since the cstring
is not populated when the call to readln
returns false
, splitRecord
didn't do anything and we ended up passing an empty record to the output dg before this fix, which tripped some of our tools.
The other method throws on EOF. This ones return false.
Ok. Is there any need to leave the exception handling code in fiberMethod
then?
(By the way, I'm not disputing this change, just trying to understand what's going on so I can suggest a better way of documenting it.)
Just checked, you are right, only StreamSerializer
throws EofException
.
Ping ?