From 56ae953f5e38da12ae6cc8d2e62362559a595b05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 29 Oct 2009 18:36:27 +0000 Subject: [PATCH] * small_data attribute now get their st_mtim from st_ctim, as that should be closer to the reality. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33833 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/file_systems/bfs/Attribute.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/add-ons/kernel/file_systems/bfs/Attribute.cpp b/src/add-ons/kernel/file_systems/bfs/Attribute.cpp index f7a825d5c0..3ae4122433 100644 --- a/src/add-ons/kernel/file_systems/bfs/Attribute.cpp +++ b/src/add-ons/kernel/file_systems/bfs/Attribute.cpp @@ -183,6 +183,8 @@ Attribute::Stat(struct stat& stat) // overwrite some data to suit our needs stat.st_type = fSmall->Type(); stat.st_size = fSmall->DataSize(); + stat.st_mtim = stat.st_ctim; + // attribute changes cause status_change updates } if (fAttribute != NULL)