mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-07 09:58:22 +02:00
Previously, we were preallocating a string buffer of fixed size. For guint8 we reserved 3 characters per number, which is sufficient. However, it is not obviously sufficient. NMStrBuf would grow as needed. Next, I will add nm_keyfile_plugin_kf_set_integer_list_uint(), where it is more unclear how large the string can be at most. To avoid that question from the start, it will use NMStrBuf. To keep the implementations similar, use NMStrBuf also in this case. |
||
|---|---|---|
| .. | ||
| nm-keyfile-internal.h | ||
| nm-keyfile-utils.c | ||
| nm-keyfile-utils.h | ||
| nm-keyfile.c | ||