diff options
author | Rob Landley <rob@landley.net> | 2013-06-23 14:38:31 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2013-06-23 14:38:31 -0500 |
commit | 10217d386975fe4456bb98e9195096165da4119d (patch) | |
tree | 6d3402f3bdc7b8395bf98a85802413625365c829 /toys/pending/README | |
parent | 9d5456c70b549e8eded8f634fcdad999b655c205 (diff) | |
download | toybox-10217d386975fe4456bb98e9195096165da4119d.tar.gz |
Modinfo cleanups.
Don't use xopen() if you want to iterate through multiple files.
Don't abort if unable to open the file, but return error if it can't map it.
(And leak the filehandle.) All modinfo_file() actually uses is the filename,
no reason to go through dirtree() for that. Nothing is actually _checking_ the
return value of modinfo_file(). Avoid global data outside of toy_union.
Make sure extension is at end of file (we can add support for more extensions
later).
Diffstat (limited to 'toys/pending/README')
0 files changed, 0 insertions, 0 deletions