coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint: avoid false positive in src/fs-magic-compare


From: Pádraig Brady
Subject: [PATCH] maint: avoid false positive in src/fs-magic-compare
Date: Sun, 24 Jun 2018 15:35:37 -0700

* src/local.mk (fs_normalize_perl_subst): `make src/fs-magic-compare`
was reporting incorrectly that AFS was not being handled.
Add a mapping to our KAFS identifier.
---
 src/local.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/local.mk b/src/local.mk
index 4e8cbf9..7a587bb 100644
--- a/src/local.mk
+++ b/src/local.mk
@@ -523,6 +523,7 @@ fs_normalize_perl_subst =                   \
   -e 's/MINIX2_SUPER_MAGIC2\b/MINIX_V2_30/;'   \
   -e 's/MINIX3_SUPER_MAGIC\b/MINIX_V3/;'       \
   -e 's/CIFS_MAGIC_NUMBER/CIFS/;'              \
+  -e 's/AFS_FS/KAFS/;'                         \
   -e 's/(_SUPER)?_MAGIC//;'                    \
   -e 's/\s+0x(\S+)/" 0x" . uc $$1/e;'          \
   -e 's/(\s+0x)(\X{3})\b/$${1}0$$2/;'          \
-- 
2.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]