iryndin / jdbf

Java utility to read/write DBF files
108 stars 77 forks source link

Issue 27b #36

Closed jferard closed 6 years ago

jferard commented 7 years ago

From the https://github.com/iryndin/jdbf/issues/27 comment: "I recently read carefully the javadoc for InputStream (https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html#read(byte[]) and one can't assume that the stream has ended (end of file) if read(b) returns less than b.length bytes. The read operation on the stream can just block." This is the fix (I hope this time it's correct).

jferard commented 6 years ago

@iryndin Is there a reason why you don't merge this ?

iryndin commented 6 years ago

@jferard merged! Sorry for the delay!! And thank you for this contribution!!!

jferard commented 6 years ago

You're welcome.