summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2018-06-07 15:20:05 +0300
committerTom Rini <trini@konsulko.com>2018-06-13 14:49:12 +0300
commit94b233f443456a1cb868868b3b7f6876471a2de4 (patch)
tree1126d88af19403179b7dc4ad73cc7b26fcca3e72 /env
parent2aa686775b8facd71f9dce26ce00cf3c5abad51a (diff)
downloadu-boot-94b233f443456a1cb868868b3b7f6876471a2de4.tar.xz
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>
Diffstat (limited to 'env')
0 files changed, 0 insertions, 0 deletions