OSSP CVS Repository

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

ossp-pkg/js/src/jsfile.c 1.8 -> 1.9

--- jsfile.c     2006/07/29 09:08:15     1.8
+++ jsfile.c     2006/07/29 09:15:10     1.9
@@ -2707,7 +2707,7 @@
 #else
         /* not really correct, but the only possible fallback on not
            fully POSIX compliant platforms. */
-        t = (time_t)(info.st_mtime);
+        t = (time_t)(info.st_ctime);
 #endif
         tm = localtime(&t);
         *vp = OBJECT_TO_JSVAL(js_NewDateObject(cx, tm->tm_year + 1900,

CVSTrac 2.0.1