[cpp-sp] branch main updated: Fix another long standing windows status page issue
Rod Widdowson
rdw at steadingsoftware.com
Thu Jan 30 13:03:07 UTC 2025
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=4eb0c8a2a7439040c875e6f5d4e0b25dd1d8e5d1
The following commit(s) were added to refs/heads/main by this push:
new 4eb0c8a2 Fix another long standing windows status page issue
4eb0c8a2 is described below
commit 4eb0c8a2a7439040c875e6f5d4e0b25dd1d8e5d1
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu Jan 30 13:03:03 2025 +0000
Fix another long standing windows status page issue
---
shibsp/handler/impl/StatusHandler.cpp | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/shibsp/handler/impl/StatusHandler.cpp b/shibsp/handler/impl/StatusHandler.cpp
index 6ad2d73d..1cbb13f3 100644
--- a/shibsp/handler/impl/StatusHandler.cpp
+++ b/shibsp/handler/impl/StatusHandler.cpp
@@ -316,7 +316,7 @@ ostream& StatusHandler::systemInfo(ostream& os) const
SYSTEM_INFO si;
memset(&si, 0, sizeof(SYSTEM_INFO));
GetNativeSystemInfo(&si);
- switch (si.dwProcessorType) {
+ switch (si.wProcessorArchitecture) {
case PROCESSOR_ARCHITECTURE_INTEL:
os << " arch='i386'";
break;
@@ -326,6 +326,12 @@ ostream& StatusHandler::systemInfo(ostream& os) const
case PROCESSOR_ARCHITECTURE_IA64:
os << " arch='IA64'";
break;
+ case PROCESSOR_ARCHITECTURE_ARM:
+ os << " arch='ARM'";
+ break;
+ case PROCESSOR_ARCHITECTURE_ARM64:
+ os << " arch='ARM64'";
+ break;
}
os << " cpucount='" << si.dwNumberOfProcessors << "'";
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list