On 9/24/21 6:51 PM, enh via Toybox wrote: > ...but you can get 0 if you have a "no newline at end of file" file. > > I've been through all the current callers, and just these ones weren't > using the canonical test. > --- > toys/lsb/mount.c | 2 +- > toys/pending/init.c | 2 +- > toys/pending/lsof.c | 2 +- > toys/pending/userdel.c | 2 +-
The last three are in pending for a reason, but the mount one is a facepalm. Good catch, Rob _______________________________________________ Toybox mailing list Toybox@lists.landley.net http://lists.landley.net/listinfo.cgi/toybox-landley.net