mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>,
	 Sascha Hauer <s.hauer@pengutronix.de>
Subject: Re: [PATCH] default environment: make string arguments const
Date: Tue, 20 Feb 2024 11:51:10 +0100	[thread overview]
Message-ID: <170842627028.2610130.14570400991766012366.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20240219105507.1618465-1-s.hauer@pengutronix.de>


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@pengutronix.de>




      reply	other threads:[~2024-02-20 10:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-19 10:55 Sascha Hauer
2024-02-20 10:51 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=170842627028.2610130.14570400991766012366.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox