[U-Boot] tools: env: Use getline rather than fgets when reading config/script
Tom Rini
trini at konsulko.com
Wed Jun 13 15:42:59 UTC 2018
On Thu, Jun 07, 2018 at 12:20:05PM +0000, Alex Kiernan wrote:
> When reading the config file, or a script file, use getline rather than
> fgets so line lengths aren't limited by the size of a compiled in buffer
> (128 characters for config, 1024 for scripts).
>
> Rename 'dump' to 'line' so it's clear we're working with a line of text.
>
> Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180613/90ed65e5/attachment.sig>
More information about the U-Boot
mailing list