bareos: master e8563891

Author Committer Branch Timestamp Parent
arogge arogge master 2020-04-29 16:39 master dc74d78a Pending
Changeset core: provide GetOsInfo() in kBareosVersionStrings

This patch adds a new function GetOsInfo() to kBareosVersionStrings. In
the future this function will be used as a replacement of the DISTVER
definition.
Eventually the GetOsInfo() should retrieve the information at runtime
instead of having it compiled in.

This patch also replaces DISTVER with a call to
kBareosVersionStrings.GetOsInfo() where possible. For windows this means
that we now always report the information obtained at runtime when the
program started.
mod - core/src/console/console.cc Diff File
mod - core/src/dird/backup.cc Diff File
mod - core/src/dird/migrate.cc Diff File
mod - core/src/dird/restore.cc Diff File
mod - core/src/dird/ua_cmds.cc Diff File
mod - core/src/dird/ua_status.cc Diff File
mod - core/src/dird/verify.cc Diff File
mod - core/src/filed/dir_cmd.cc Diff File
mod - core/src/filed/status.cc Diff File
mod - core/src/lib/CMakeLists.txt Diff File
add - core/src/lib/osinfo.cc Diff File
add - core/src/lib/osinfo.h Diff File
add - core/src/lib/osinfo_win32.cc Diff File
mod - core/src/lib/version.h Diff File
mod - core/src/stored/status.cc Diff File