From 878b0a5a1512901505e96f02f4fd34ab63ca16f9 Mon Sep 17 00:00:00 2001 From: Irwin Rodriguez Date: Sun, 26 Jul 2026 19:32:05 +0200 Subject: [PATCH] fix: fname() and fattrib() included in vfp_universe.json --- .../VfpCompatMetrics/Config/vfp_universe.json | 14 ++++++++++++++ src/Tools/VfpTools/VfpCompatMetrics/Program.prg | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/Tools/VfpTools/VfpCompatMetrics/Config/vfp_universe.json b/src/Tools/VfpTools/VfpCompatMetrics/Config/vfp_universe.json index e06b088647..040d705c09 100644 --- a/src/Tools/VfpTools/VfpCompatMetrics/Config/vfp_universe.json +++ b/src/Tools/VfpTools/VfpCompatMetrics/Config/vfp_universe.json @@ -1433,6 +1433,13 @@ "Engine": "Macro", "Criticality": "High" }, + { + "Name": "FATTRIB", + "Category": "FileAndIO", + "Engine": "RuntimeCore", + "Criticality": "Medium", + "IsExtension": true + }, { "Name": "FCHSIZE", "Category": "FileAndIO", @@ -1535,6 +1542,13 @@ "Engine": "WorkArea", "Criticality": "High" }, + { + "Name": "FNAME", + "Category": "FileAndIO", + "Engine": "RuntimeCore", + "Criticality": "Medium", + "IsExtension": true + }, { "Name": "FONTMETRIC", "Category": "UIAndWindow", diff --git a/src/Tools/VfpTools/VfpCompatMetrics/Program.prg b/src/Tools/VfpTools/VfpCompatMetrics/Program.prg index 1e82df6bcb..17a7445188 100644 --- a/src/Tools/VfpTools/VfpCompatMetrics/Program.prg +++ b/src/Tools/VfpTools/VfpCompatMetrics/Program.prg @@ -161,7 +161,7 @@ BEGIN NAMESPACE VfpCompatMetrics // 3. Warnings and Debt - IF item:Status == "Full" && !String.IsNullOrWhiteSpace(item:Notes) + IF item:Status == "Full" && !String.IsNullOrWhiteSpace(item:Notes) && item:Notes != "X# Extension" issues:Add(ValidationIssue{}{ Level := "WARNING", FunctionName := item:Name, Message := "State is 'Full' but contains limitation notes." }) ENDIF