From 02447c733a69c4064d4870e7a8338dbda8775018 Mon Sep 17 00:00:00 2001 From: Huamonarch Date: Wed, 13 May 2026 10:33:08 +0800 Subject: [PATCH] Replace U+00B5 (MICRO SIGN) with plain 'us' to avoid Unicode warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Gitea flags U+00B5 as ambiguous — visually identical to U+03BC (GREEK SMALL LETTER MU). Using 'us' is the standard engineering abbreviation and avoids the warning. --- shm/RuleStatShm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shm/RuleStatShm.h b/shm/RuleStatShm.h index d1ddb2f..817c582 100644 --- a/shm/RuleStatShm.h +++ b/shm/RuleStatShm.h @@ -53,7 +53,7 @@ struct ShmSpinLock { continue; } // 持有者存活,短暂退避 - struct timespec ts = {0, 100000}; // 100µs + struct timespec ts = {0, 100000}; // 100us ::nanosleep(&ts, nullptr); } }