|
Hi, On Feb 22, 2014, at 19:47 , Francisco Olarte wrote: … Btw, beating the unfortunate dead horse even more: this is a nice additional catch: which I may consider as a real real bug. Lua should really output 3 lines, like in the "trivial" C example. While working on the source I already had the "feeling" the function should only continue reading on a full buffer, not using the current "if last char is not \n" check, but could not imagine a case it fails. Thank you for this example! (I wish we could just simple fix this 2 bugs, … :-/) ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin http://exactcode.com | http://exactscan.com | http://ocrkit.com | http://t2-project.org | http://rene.rebe.de |