commit | aaa8e0dd01c86958b440debb0d94dfa11e8258ee | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Sat Sep 24 22:36:31 2022 -0700 |
committer | William A. Kennington III <wak@google.com> | Tue Sep 27 11:03:33 2022 -0700 |
tree | a1e1cb41849ed74a9ea4c48c86a9e1db6e5caf75 | |
parent | 62e40d6cbe046532c9432212e574de76c50a14cc [diff] |
zstring: Fix char array conversion We don't want to assume the entire char array is used for strings, otherwise perfectly valid buffers from C are unusable as they always hold less than or equal to the buffer size of string. Change-Id: I1354d63b1aa64995ec245edb876fdf6e69be554a Signed-off-by: William A. Kennington III <wak@google.com>
stdplus is a c++ project containing commonly used classes and functions for the Linux platform. Note the goals of this project are to implement only the minimum set of features needed by the OpenBMC project and other users. You may find the included set of functions currently quite sparse.
This project provides the following primitives:
Test cases require google{test,mock}, valgrind, and lcov. It also requires the Meson Build System which can be installed following the instructions at mesonbuild.com.
For a standard release build, you want something like:
meson setup -Dexamples=false -Dtests=disabled builddir ninja -C builddir ninja -C builddir install
For a test / debug build, a typical configuration is
meson setup -Dtests=enabled builddir meson test -C builddir