aboutsummaryrefslogtreecommitdiff
path: root/lib/fstree/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-11-16 10:29:19 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-11-18 16:21:12 +0100
commit007ff40bf440d72d2ca4ffed26b6b2ea752b1562 (patch)
tree705472f3938e5a1f1e7b988d66c1f4d7e884e999 /lib/fstree/Makemodule.am
parentfefcbb9710c87dcadab7dba5af52cb94b06625ac (diff)
filemap xattr: use file istream from libio instead of stdio FILE
The line-by-line reading function in the io library was specifically added for this kind of use case, so we don't have to handle trimming of lines, don't have to touch getline() and it's convoluted error handling (return value -1 could mean either EOF or error). The code that searches for '\n' and replaces it with '\0' can be removed as well and a memory leak involving "line" is removed along the way. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/fstree/Makemodule.am')
0 files changed, 0 insertions, 0 deletions