aboutsummaryrefslogtreecommitdiff
path: root/.busted
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2016-10-06 16:51:04 +0300
committerPeter Melnichenko <mpeterval@gmail.com>2016-10-06 16:51:36 +0300
commiteb7427676a2f09556f9d5f19a1a6392fd945e8bc (patch)
tree49c3e583567c40a5173a603dff941dcb6e415992 /.busted
parentadcba81974979be3763c8d9d46eb2de9a88ff67c (diff)
downloadluarocks-eb7427676a2f09556f9d5f19a1a6392fd945e8bc.tar.gz
luarocks-eb7427676a2f09556f9d5f19a1a6392fd945e8bc.tar.bz2
luarocks-eb7427676a2f09556f9d5f19a1a6392fd945e8bc.zip
Rewrite util.sortedpairs to avoid using coroutines
util.sortedpairs is used in luarocks loader since @6dc745a. Openresty does not like coroutines being used from inside `require`, resulting in "attempt to yield across C-call boundary" error. New version of util.sortedpairs uses a prepared array of ordered keys instead of coroutines. Ref #620.
Diffstat (limited to '.busted')
0 files changed, 0 insertions, 0 deletions