Closed q66 closed 3 years ago
Also, the program prints baud 15 for me on both glibc (with or without the changes) and musl; I don't think this is correct (it should print 38400)
added a commit which ensures baud rates are translated to speed when provided on input, and speeds are translated back to baud rates for printing; now it behaves like freebsd (tested both getting and setting, and compared with coreutils stty as well as native freebsd environment)
Great fixes, thank you. I did notice stty was printing the wrong baud rate, but I wanted to push what I had so far to see where things landed for musl (I don't have a musl-based system installed locally, so I am relying on CI).
Though this PR appears to also include your work for tail. Is that correct? I think there are too many commits in this PR.
it's because of your force-push, it confused github
Thanks.
Turns out
ttydefchars
is just not needed at all becausec_cc
is never copied intostruct info
in that function (which is good, because it does not exist on musl)