OSSP CVS Repository

ossp - Check-in [5599]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 5599
Date: 2005-Nov-01 02:20:21 (local)
2005-Nov-01 01:20:21 (UTC)
User:rse
Branch:
Comment: Import new upstream version: Mozilla JavaScript (SpiderMonkey) 1.6 as of 2006-07-24
Tickets:
Inspections:
Files:
ossp-pkg/js/src/jsfile.c      1.1.1.1->removed

ossp-pkg/js/src/jsfile.c 1.1.1.1 -> 1.1.1.2

--- jsfile.c     2006/06/06 12:01:13     1.1.1.1
+++ jsfile.c     2005/11/01 01:20:21     1.1.1.2
@@ -2172,7 +2172,6 @@
         obj = JS_NewObject(cx, &file_class, NULL, NULL);
         if (!obj)
             return JS_FALSE;
-        *rval = OBJECT_TO_JSVAL(obj);
     }
 
     str = (argc == 0) 
@@ -2192,6 +2191,7 @@
 
     SECURITY_CHECK(cx, NULL, "constructor", file);
 
+    *rval = OBJECT_TO_JSVAL(obj);
     return JS_TRUE;
 }
 

CVSTrac 2.0.1