[Toybox] [PATCH] Fix more to not append an extra newline.
enh
enh at google.com
Thu Apr 21 18:22:19 PDT 2016
More's sigatexit handler needs to distinguish between normal exit and exit
due to receipt of a signal.
Change tty_sigreset to look at the signal number too, so that pressing 'q'
to exit top doesn't cause its exit status to be 128.
---
lib/interestingtimes.c | 2 +-
lib/xwrap.c | 4 +++-
toys/pending/more.c | 5 +++++
3 files changed, 9 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-more-to-not-append-an-extra-newline.patch
Type: text/x-patch
Size: 1940 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20160421/fcfd94bf/attachment.bin>
More information about the Toybox
mailing list