… | |
… | |
372 | // actually, this is mostly due to the stupid so-called |
372 | // actually, this is mostly due to the stupid so-called |
373 | // security workaround added somewhere in 5.8.x. |
373 | // security workaround added somewhere in 5.8.x. |
374 | // that randomises hash orderings |
374 | // that randomises hash orderings |
375 | if (enc->flags & F_CANONICAL) |
375 | if (enc->flags & F_CANONICAL) |
376 | { |
376 | { |
377 | HE *he, *hes [count]; // if your compiler dies here, you need to enable C99 mode |
|
|
378 | int fast = 1; |
377 | int fast = 1; |
|
|
378 | HE *he; |
|
|
379 | #if defined(__BORLANDC__) || defined(_MSC_VER) |
|
|
380 | HE **hes = _alloca (count * sizeof (HE)); |
|
|
381 | #else |
|
|
382 | HE *hes [count]; // if your compiler dies here, you need to enable C99 mode |
|
|
383 | #endif |
379 | |
384 | |
380 | i = 0; |
385 | i = 0; |
381 | while ((he = hv_iternext (hv))) |
386 | while ((he = hv_iternext (hv))) |
382 | { |
387 | { |
383 | hes [i++] = he; |
388 | hes [i++] = he; |