Am 04.07.2013 12:53 schröbte Philipp Janda:
> That little bug[1] is still not fixed in the git repository ...
> I thought it was overkill in this case, but if you want I can try to
> figure out forks and pull requests on github.
>
>     [1]: http://sourceforge.net/mailarchive/message.php?msg_id=30742060

Actually, after another close look, the fix should probably be different 
(so that read returns the correct number of bytes):

line 98 should be

     local chunk = self.str:sub(self.at, self.at+n-1)

instead of

     local chunk = self.str:sub(self.at, self.at+n)

line 99 would stay as it was.




------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to