grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3] grub-core/kern/corecmd: Quote variable values when displa


From: Daniel Kiper
Subject: Re: [PATCH v3] grub-core/kern/corecmd: Quote variable values when displayed by the set command
Date: Thu, 6 Oct 2022 15:32:04 +0200
User-agent: NeoMutt/20170113 (1.7.2)

On Thu, Aug 25, 2022 at 07:53:51PM -0500, Glenn Washburn wrote:
> Variable values may contain spaces at the end or newlines. However, when
> displayed without quotes this is not obvious and can lead to confusion as
> to the actual contents of variables. Also for some variables grub_env_get()
> returns a NULL pointer instead of a pointer to an empty string and
> previously would be printed as "var=(null)". Now such variables will be
> displayed as "var=''".
>
> Signed-off-by: Glenn Washburn <development@efficientek.com>

Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>

Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]