OSSP CVS Repository

ossp - Difference in ossp-pkg/js/src/js.c versions 1.4 and 1.5
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/js/src/js.c 1.4 -> 1.5

--- js.c 2006/07/30 08:00:45     1.4
+++ js.c 2006/08/03 12:30:16     1.5
@@ -1187,7 +1187,11 @@
     for (sprop = SCOPE_LAST_PROP(scope); sprop; sprop = sprop->parent) {
         if (SCOPE_HAD_MIDDLE_DELETE(scope) && !SCOPE_HAS_PROPERTY(scope, sprop))
             continue;
+#ifdef OSSP
+        fprintf(fp, "%3u %lx", i, (unsigned long)sprop);
+#else
         fprintf(fp, "%3u %p", i, sprop);
+#endif
         if (JSID_IS_INT(sprop->id)) {
             fprintf(fp, " [%ld]", (long)JSVAL_TO_INT(sprop->id));
         } else if (JSID_IS_ATOM(sprop->id)) {
@@ -1208,7 +1212,11 @@
 #undef  DUMP_ATTR
 
         fprintf(fp, " slot %lu flags %x shortid %d\n",
+#ifdef OSSP
+                (unsigned long)sprop->slot, sprop->flags, sprop->shortid);
+#else
                 sprop->slot, sprop->flags, sprop->shortid);
+#endif
     }
 }
 

CVSTrac 2.0.1