diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-06 17:14:09 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-06 17:14:09 +0200 |
commit | 2262746e2b798361a9c293e02f76cb4f06b7b100 (patch) | |
tree | 76ecf71510faa55363085869ad5fa2aa361d6f48 /libbb | |
parent | a759b22c29fed7d6c77efe0c3e27772371d0889b (diff) | |
download | busybox-w32-2262746e2b798361a9c293e02f76cb4f06b7b100.tar.gz busybox-w32-2262746e2b798361a9c293e02f76cb4f06b7b100.tar.bz2 busybox-w32-2262746e2b798361a9c293e02f76cb4f06b7b100.zip |
slattach: code shrink, better --help text
function old new delta
tcsetattr_serial_or_warn - 34 +34
static.int_N_SLIP - 4 +4
restore_state_and_exit 123 117 -6
packed_usage 31774 31747 -27
set_termios_state_or_warn 42 - -42
slattach_main 673 624 -49
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 0/3 up/down: 38/-124) Total: -86 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/xfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 98d3531d6..1b3a1667b 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c | |||
@@ -313,7 +313,7 @@ int FAST_FUNC tcsetattr_stdin_TCSANOW(const struct termios *tp) | |||
313 | 313 | ||
314 | int FAST_FUNC set_termios_to_raw(int fd, struct termios *oldterm, int flags) | 314 | int FAST_FUNC set_termios_to_raw(int fd, struct termios *oldterm, int flags) |
315 | { | 315 | { |
316 | //TODO: lineedit, microcom and less might be adapted to use this too: | 316 | //TODO: lineedit, microcom, slattach, less might be adapted to use this too: |
317 | // grep for "tcsetattr" | 317 | // grep for "tcsetattr" |
318 | 318 | ||
319 | struct termios newterm; | 319 | struct termios newterm; |