commit | 1e825acf8d715fe49af040cb02f9e96c26955832 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Tue Jan 18 00:31:27 2022 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Tue Jan 18 00:36:42 2022 +0100 |
tree | 1ba246aca6ab29b154dd14e61e96fafd6bab475e | |
parent | 8ad2acf352d790d0bdd792b8e126d58a088451f3 [diff] [blame] |
libbb: shrink lineedit_read_key() function old new delta lineedit_read_key 237 231 -6 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/libbb/read_key.c b/libbb/read_key.c index 829ae21..cf8ed41 100644 --- a/libbb/read_key.c +++ b/libbb/read_key.c
@@ -291,6 +291,7 @@ { int64_t r; do { + /* errno = 0; - read_key does this itself */ r = read_key(fd, buffer, timeout); } while (errno == EINTR); return r;