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

Patrick Broens patrick at netcreators.com
Fri Feb 2 16:47:53 CET 2007



Wolfgang Klinger wrote:
> *hiya!*
>
> Michael Stucki wrote:
>   
>> 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

Patrick
>
> bye
> Wolfgang
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070202/fd7c8ce6/attachment.htm 


More information about the TYPO3-team-core mailing list