/[Apache-SVN]
ViewVC logotype

Revision 1176666


Jump to revision: Previous Next
Author: davisp
Date: Tue Sep 27 23:55:09 2011 UTC (12 years, 6 months ago)
Changed paths: 1
Log Message:
Fix function evaluation by newer SpiderMonkey's.

Found this error using the Debian package for SM 1.8.5 and have since
had reports of users seeing it as well. The basic error is that some
versions of SpiderMonkey appear to dislike this call to eval:

    eval("function(){}");

The fix is simply to wrap the function source in parenthesis so that
SM is convinced that it knows how to evaluate a function.



Changed paths

Path Details
Directorycouchdb/trunk/share/server/util.js modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26