diff --git a/generic/writer.c b/generic/writer.c index d3d7a00..5ed76b8 100644 --- a/generic/writer.c +++ b/generic/writer.c @@ -487,6 +487,7 @@ int Cookfs_WriterAddFile(Cookfs_Writer *w, Tcl_Obj *pathObj, goto error; } Cookfs_FsindexUpdateEntryFileSize(entry, dataSize); + entry->fileTime = mtime; Tcl_WideInt currentOffset = 0; int currentBlockNumber = 0;