Index: ossp-pkg/js/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/js/ChangeLog,v rcsdiff -q -kk '-r1.12' '-r1.13' -u '/v/ossp/cvs/ossp-pkg/js/ChangeLog,v' 2>/dev/null --- ChangeLog 2006/07/29 09:14:40 1.12 +++ ChangeLog 2006/07/29 09:15:09 1.13 @@ -18,7 +18,7 @@ Alfred Reibenschuh ] o Increase portability by gracefully downgrading the stat(2) use of - st_birthtime to st_birthtimensec or even st_mtime. + st_birthtime to st_birthtimensec or even st_ctime. [Ralf S. Engelschall , Andrew Vajoczki ] Index: ossp-pkg/js/src/jsfile.c RCS File: /v/ossp/cvs/ossp-pkg/js/src/jsfile.c,v rcsdiff -q -kk '-r1.8' '-r1.9' -u '/v/ossp/cvs/ossp-pkg/js/src/jsfile.c,v' 2>/dev/null --- 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,