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,
|
|