From: Tom Rini Date: Wed, 13 Jun 2018 11:42:59 -0400 Subject: [U-Boot] tools: env: Use getline rather than fgets when reading config/script In-Reply-To: <20180607122005.17506-1-alex.kiernan@gmail.com> References: <20180607122005.17506-1-alex.kiernan@gmail.com> Message-ID: <20180613154259.GG350@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: