aboutsummaryrefslogtreecommitdiff
path: root/toys/other/login.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-06-23 14:38:31 -0500
committerRob Landley <rob@landley.net>2013-06-23 14:38:31 -0500
commit10217d386975fe4456bb98e9195096165da4119d (patch)
tree6d3402f3bdc7b8395bf98a85802413625365c829 /toys/other/login.c
parent9d5456c70b549e8eded8f634fcdad999b655c205 (diff)
downloadtoybox-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/other/login.c')
0 files changed, 0 insertions, 0 deletions