Author: mladen.turk(a)jboss.com
Date: 2007-09-10 06:19:47 -0400 (Mon, 10 Sep 2007)
New Revision: 1011
Modified:
trunk/sight/native/os/linux/common.c
Log:
Use lstat to figure out the creation time
Modified: trunk/sight/native/os/linux/common.c
===================================================================
--- trunk/sight/native/os/linux/common.c 2007-09-10 09:43:56 UTC (rev 1010)
+++ trunk/sight/native/os/linux/common.c 2007-09-10 10:19:47 UTC (rev 1011)
@@ -86,6 +86,8 @@
if (sb->st_ino == inode) {
/* Wow, we found it */
*pid = (pid_t)strtoul(pent->d_name, NULL, 10);
+ /* Get file times */
+ lstat(fname, sb);
rv = 0;
break;
}
Show replies by date