keplerproject/luarocks — pull request #85 by norman (2012-07-09 04:35:11+00:00)
Title: Fix mode string in call to io.open

On 5.2, Luarocks fails when installing some rocks with the following
error:

invalid mode 'wb+' (should match '[rwa]%+?b?')

This does not happen on 5.1; I suspect 5.2 may be stricter about
validating the mode string. The docs for 5.1 suggest the 'b' must always
come at the end:

> The mode string can also have a 'b' at the end
(http://www.lua.org/manual/5.1/manual.html#pdf-io.open)