aboutsummaryrefslogtreecommitdiff
path: root/toys/other/pmap.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-10-14 18:08:46 -0700
committerRob Landley <rob@landley.net>2020-10-15 23:00:46 -0500
commit6e331aef7f2ce0c6f905ab099028d8cf8f91b1a0 (patch)
treee24ce081aef7525140a89a4bbdd1064c2aa3a99a /toys/other/pmap.c
parentf554ce0a4b592272b9171c7c141480a159fa7194 (diff)
downloadtoybox-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 'toys/other/pmap.c')
0 files changed, 0 insertions, 0 deletions