Re: [PATCH] default environment: make string arguments const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux