diff options
author | Elliott Hughes <enh@google.com> | 2020-10-14 18:08:46 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-10-15 23:00:46 -0500 |
commit | 6e331aef7f2ce0c6f905ab099028d8cf8f91b1a0 (patch) | |
tree | e24ce081aef7525140a89a4bbdd1064c2aa3a99a /lib | |
parent | f554ce0a4b592272b9171c7c141480a159fa7194 (diff) | |
download | toybox-6e331aef7f2ce0c6f905ab099028d8cf8f91b1a0.tar.gz |
stty: don't mangle c_iflags.
Fixes https://github.com/landley/toybox/issues/251 where `stty 300` was
mangling c_iflags to 0x300 because even if we don't match a full hex
specification of struct termios, sscanf() will have overwritten the
first value, which is c_iflag.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions