From 53a5dca9d7f01ef9d23a8f12f0d6ef57b9d56fcd Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Wed, 8 Aug 2018 23:57:11 -0400 Subject: [PATCH] packagefs: Fixup previous commit. --- .../kernel/file_systems/packagefs/nodes/UnpackingLeafNode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/file_systems/packagefs/nodes/UnpackingLeafNode.cpp b/src/add-ons/kernel/file_systems/packagefs/nodes/UnpackingLeafNode.cpp index fc7781a19a..eb2ad11cd0 100644 --- a/src/add-ons/kernel/file_systems/packagefs/nodes/UnpackingLeafNode.cpp +++ b/src/add-ons/kernel/file_systems/packagefs/nodes/UnpackingLeafNode.cpp @@ -188,7 +188,7 @@ UnpackingLeafNode::WillBeFirstPackageNode(PackageNode* packageNode) const PackageLeafNode* headNode = fPackageNodes.Head(); return headNode == NULL - || packageLeafNode->ModifiedTime() > headNode->ModifiedTime(); + || packageLeafNode->HasPrecedenceOver(headNode); } void