On Mon, 27 Feb 2023 at 12:55, Marek Vasut
<marek.vasut+rene...@mailbox.org> wrote:
>
> In case character 0x20 (space) is used as line separator,
> character 0x9 (tab) is treated end of line. Commands which
> output a lot of tabs, i.e. various tree printing commands
> like 'fdt print' then end up generating a lot of newlines
> in the recorded output, and the recorded output is corrupted.
>
> Use character 0x00 (NUL) as separator instead to treat the
> tabs as valid part of recorded line.
>
> Suggested-by: Simon Glass <s...@chromium.org>
> Signed-off-by: Marek Vasut <marek.vasut+rene...@mailbox.org>
> ---
> Cc: Heinrich Schuchardt <heinrich.schucha...@canonical.com>
> Cc: Simon Glass <s...@chromium.org>
> Cc: Tom Rini <tr...@konsulko.com>
> ---
>  common/console.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to