commit | 66df4e29a5bdea3fab991218095a5a67f903da18 | [log] [tgz] |
---|---|---|
author | Alex Kiernan <alex.kiernan@gmail.com> | Thu Jun 07 12:20:05 2018 +0000 |
committer | Tom Rini <trini@konsulko.com> | Wed Jun 13 07:49:12 2018 -0400 |
tree | 1126d88af19403179b7dc4ad73cc7b26fcca3e72 | |
parent | 9a33bdf51304fd51ef28858614943828956481a7 [diff] |
tools: env: Use getline rather than fgets when reading config/script 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@gmail.com>