In FreeBSD (all supported versions) the type of the ospeed variable is defined as "short" in lib/ncurses/ncurses/Makefile. However, in contrib/ncurses/ncurses/tinfo/lib_baudrate.c the USE_OLD_TTY hack is disabled for FreeBSD >=7 since the required 4.3BSD compatibility goo went away. As a result, ospeed now needs to be able to hold values up to 921600 (cf. <sys/_termios.h>), so it must be bumped from short to int. Obviously this is a binary-incompatible API change. Arguably, switching ospeed's type is more intrusive than having garbage values in ospeed, but we should strive for correctness. (FWIW, OpenBSD, which is facing the same issue, will switch to int ospeed.)
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped