Update of /cvsroot/squeak/squeak/platforms/unix/plugins/FilePlugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22035
Modified Files:
sqUnixFile.c
Log Message:
Swap uses of modification and changed time in stat() to be consistent with 'ls'.
Index: sqUnixFile.c
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/unix/plugins/FilePlugin/sqUnixFile.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** sqUnixFile.c 1 Sep 2003 08:31:50 -0000 1.10
--- sqUnixFile.c 2 Apr 2004 00:56:39 -0000 1.11
***************
*** 37,41 ****
/* Author: Ian...@IN...
*
! * Last edited: 2003-03-05 05:53:38 by piumarta on emilia.inria.fr
*/
--- 37,41 ----
/* Author: Ian...@IN...
*
! * Last edited: 2003-10-28 10:56:26 by piumarta on emilia.inria.fr
*/
***************
*** 230,237 ****
}
! /* use modification time instead (just like ls) */
! *creationDate= convertToSqueakTime(statBuf.st_mtime);
! /* use status change time instead */
! *modificationDate= convertToSqueakTime(statBuf.st_ctime);
if (S_ISDIR(statBuf.st_mode))
--- 230,237 ----
}
! /* last change time */
! *creationDate= convertToSqueakTime(statBuf.st_ctime);
! /* modification time */
! *modificationDate= convertToSqueakTime(statBuf.st_mtime);
if (S_ISDIR(statBuf.st_mode))
|