]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: membuff: fix readline not returning line in case of overflow
authorIon Agorria <ion@agorria.com>
Fri, 5 Jan 2024 07:22:10 +0000 (09:22 +0200)
committerMattijs Korpershoek <mkorpershoek@baylibre.com>
Tue, 9 Jan 2024 13:58:33 +0000 (14:58 +0100)
commite58bafc35fe37491bb3546299593dcc054145adb
treea50d65fe54980ff838d40d1a205433da49908d98
parent90087dd076d42c196de3506b6fa4d052f0869670
lib: membuff: fix readline not returning line in case of overflow

If line overflows readline it will not be returned, fix this behavior,
make it optional and documented properly.

Signed-off-by: Ion Agorria <ion@agorria.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Link: https://lore.kernel.org/r/20240105072212.6615-6-clamor95@gmail.com
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
boot/bootmeth_extlinux.c
common/console.c
include/membuff.h
lib/membuff.c