[PATCH] default environment: make string arguments const
Sascha Hauer
s.hauer at pengutronix.de
Tue Feb 20 02:51:10 PST 2024
On Mon, 19 Feb 2024 11:55:07 +0100, Sascha Hauer wrote:
> Change default_environment_path_set() to take a const char * and let
> default_environment_path_get() return a const char *.
> Also, do not keep a copy of the string passed to
> default_environment_path_set() rather than the original string to make
> it more clear where the path is allocated. This allows us to free the
> string passed to default_environment_path_set() after usage by some
> callers.
>
> [...]
Applied, thanks!
[1/1] default environment: make string arguments const
https://git.pengutronix.de/cgit/barebox/commit/?id=b4b4c2821454 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list