lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> I'd like to resubmit a fix that seems to not have made it into
> 5.1.4. I'm quite sure it does the right thing. Some code in
> auxsort clearly doesn't do what it's intended to do because of
> the way the loops are written with preincrementation. Instead of
> detecting an invalid order function the order function is passed
> a (likely null) value from an out-of-bound index, which is of
> course not a bug, but it makes the detection code a bit silly.
> [...]

This fix is already in the repository for Lua 5.2. However, as it is
not a bug, we did not put it into 5.1.4. (We try to change as little as
possible in these bug-fix releases.)

-- Roberto