|
|
||
|
| 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 |