Sourceware Bugzilla – Bug 2447
termios.h defines ONLCR, but not OCRNL, ONOCR, ONLRET, OFILL,...
Last modified: 2008-05-06 01:06:22 UTC
glibc/bits/termios.h contains definition for ONLCR (with a ifdef __USE_BSD), but
not for all other standard flags: OCRNL, ONOCR, ONLRET, OFILL, OFDEL, NLDLY,
NL0, NL1, CRDLY, CR0, CR1, CR2, CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0,
BS1, VTDLY, VT0, VT1, FFDLY, FF0 and FF1. This at least hurts the Hurd. I guess this should get fixed?
Linux doesn't use the file and has correct definitions. Somebody who cares
about the platform using this specific file should send a patch after
researching the issue.
Hurd uses that bits/termios.h, we should harmonize.
Fixed by today's commit