ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/JSON-XS/XS.xs
(Generate patch)

Comparing JSON-XS/XS.xs (file contents):
Revision 1.32 by root, Wed May 9 16:41:12 2007 UTC vs.
Revision 1.33 by root, Wed May 23 20:26:40 2007 UTC

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 WIN32
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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines