[Freeswitch-svn] [commit] r4275 - in freeswitch/trunk/libs/js: . src
Freeswitch SVN
mikej at freeswitch.org
Wed Feb 14 16:57:13 EST 2007
Author: mikej
Date: Wed Feb 14 16:57:13 2007
New Revision: 4275
Modified:
freeswitch/trunk/libs/js/.update
freeswitch/trunk/libs/js/src/jsapi.c
Log:
fix js file object for good this time
Modified: freeswitch/trunk/libs/js/.update
==============================================================================
--- freeswitch/trunk/libs/js/.update (original)
+++ freeswitch/trunk/libs/js/.update Wed Feb 14 16:57:13 2007
@@ -1 +1 @@
-Wed Feb 14 15:47:43 EST 2007
+Wed Feb 14 17:04:43 EST 2007
Modified: freeswitch/trunk/libs/js/src/jsapi.c
==============================================================================
--- freeswitch/trunk/libs/js/src/jsapi.c (original)
+++ freeswitch/trunk/libs/js/src/jsapi.c Wed Feb 14 16:57:13 2007
@@ -1215,10 +1215,10 @@
#if JS_HAS_XML_SUPPORT
js_InitXMLClasses(cx, obj) &&
#endif
-#ifndef OSSP
#if defined(JS_HAS_FILE_OBJECT) && (JS_HAS_FILE_OBJECT - 0) /* OSSP BUGFIX */
js_InitFileClass(cx, obj) &&
#endif
+#ifndef OSSP
#if defined(JS_HAS_DSO_OBJECT) && (JS_HAS_DSO_OBJECT - 0)
js_InitDSOClass(cx, obj) &&
#endif
@@ -1262,7 +1262,7 @@
{js_InitNamespaceClass, ATOM_OFFSET(Namespace)},
{js_InitQNameClass, ATOM_OFFSET(QName)},
#endif
-#if JS_HAS_FILE_OBJECT
+#if defined(JS_HAS_FILE_OBJECT) && (JS_HAS_FILE_OBJECT - 0) /* OSSP BUGFIX */
{js_InitFileClass, ATOM_OFFSET(File)},
#endif
#if defined(JS_HAS_DSO_OBJECT) && (JS_HAS_DSO_OBJECT - 0)
More information about the Freeswitch-svn
mailing list