kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2010-06-29 04:35 pm

[dw-free] Excessive recursion detected and stopped

[commit: http://hg.dwscoalition.org/dw-free/rev/e460b0827d43]

http://bugs.dwscoalition.org/show_bug.cgi?id=1372

Allow default for $S2::MAX_RECURSION to be overridden.

Patch by [personal profile] kareila.

Files modified:
  • cgi-bin/ljdefaults.pl
--------------------------------------------------------------------------------
diff -r 7f8dbc2622d1 -r e460b0827d43 cgi-bin/ljdefaults.pl
--- a/cgi-bin/ljdefaults.pl	Wed Jun 30 00:26:32 2010 +0800
+++ b/cgi-bin/ljdefaults.pl	Tue Jun 29 11:34:56 2010 -0500
@@ -323,7 +323,7 @@
 
 
     # to avoid S2 error "Excessive recursion detected and stopped."
-    $S2::MAX_RECURSION = 500;
+    $S2::MAX_RECURSION ||= 500;
 }
 
 
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org