summaryrefslogtreecommitdiff
path: root/cmd/nvedit.c
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2018-06-07 12:20:05 +0000
committerTom Rini <trini@konsulko.com>2018-06-13 07:49:12 -0400
commit94b233f443456a1cb868868b3b7f6876471a2de4 (patch)
tree1126d88af19403179b7dc4ad73cc7b26fcca3e72 /cmd/nvedit.c
parent2aa686775b8facd71f9dce26ce00cf3c5abad51a (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>
Diffstat (limited to 'cmd/nvedit.c')
0 files changed, 0 insertions, 0 deletions