From 8ed4a9b875f405965148330d262636a6891471cd Mon Sep 17 00:00:00 2001 From: "Rob Swindell (on Debian Linux)" <rob@synchro.net> Date: Sat, 25 Jan 2025 16:37:01 -0800 Subject: [PATCH] Display the libarchive version details along with the other libs we use --- src/sbbs3/ver.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sbbs3/ver.cpp b/src/sbbs3/ver.cpp index e24b46dccd..c176737978 100644 --- a/src/sbbs3/ver.cpp +++ b/src/sbbs3/ver.cpp @@ -26,6 +26,7 @@ #include "git_hash.h" #include "git_branch.h" #include "ver.h" +#include "archive.h" #ifdef __cplusplus extern "C" { @@ -124,6 +125,10 @@ void sbbs_t::ver() } #endif + safe_snprintf(str, sizeof str, "%s (%u)", archive_version_string(), ARCHIVE_VERSION_NUMBER); + center(str); + CRLF; + safe_snprintf(str, sizeof(str), "%s %s", os_version(os, sizeof(os)), os_cpuarch(cpu, sizeof(cpu))); center(str); } -- GitLab