[TYPO3-core] RFC: File functions use filectime() for timestamps

Michael Stucki michael at typo3.org
Sun Feb 4 22:05:22 CET 2007


Hi Patrick,

>>> I stumbled over this line some time ago. The tstamp of a file seems to
>>> be assigned using the filectime() function, however filemtime() would be
>>> more appropriate.
>>>
>>> ctime: Creation time
>>> mtime: Modification time
>>
>> yes, go ahead, though ctime is not creation time
>> (at least not on Unix)
>>   
> filectime: inode change time of file, not the creation time. However
> this behaves like creation time on win32
> So this was always wrong

Didn't know that, but thanks anyway!

Committed to TYPO3_4-0 and Trunk.

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list