diff options
author | Elliott Hughes <enh@google.com> | 2015-05-06 16:39:12 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-05-06 16:39:12 -0500 |
commit | daf36948a9c235d5e70ec343557facfb80edaddd (patch) | |
tree | 4e130bb7ec834df7ab47326c590ab6a935f90d9b /toys/example | |
parent | ef55374b9d5e6ea1325f2888fdbb0425e5e73d18 (diff) | |
download | toybox-daf36948a9c235d5e70ec343557facfb80edaddd.tar.gz |
Fix more with missing files.
Previously we'd go into an infinite loop because we weren't
incrementing optargs.
Also add a missing flush so an error on stderr won't overtake the
escape code that resets reverse video.
Disclaimer: the new behavior isn't exactly like the desktop version;
surprisingly they try to open the next file _before_ they prompt. That
feels weird to me as a user, and seems like it would lead to a more
awkward implementation, but if you're more concerned about
authenticity...
Diffstat (limited to 'toys/example')
0 files changed, 0 insertions, 0 deletions