diff options
author | Ken Brown <kbrown@cornell.edu> | 2021-07-12 09:24:12 -0400 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2021-07-13 09:02:45 -0400 |
commit | a41f585bf111b239601ca7d915994fed600852af (patch) | |
tree | 8e5791db4cbd0877e1cb18ce468114cfe6e7fb42 /lisp/net/tramp-smb.el | |
parent | d672d576ff6c3ac3c7ee1fa4db13c7e0a4974aa3 (diff) | |
download | emacs-a41f585bf111b239601ca7d915994fed600852af.tar.gz emacs-a41f585bf111b239601ca7d915994fed600852af.tar.bz2 emacs-a41f585bf111b239601ca7d915994fed600852af.zip |
Fix portability issue with make-serial-process
* src/sysdep.c (struct speed_struct): New struct.
(speeds): New static array of struct speed_struct.
(convert_speed): New static function to convert a numerical baud
rate (e.g., 9600) to a Bnnn constant defined in termios.h (e.g.,
B9600).
(serial_configure): Use convert_speed to make the call to cfsetspeed
compliant with its advertised API. (Bug#49524)
Diffstat (limited to 'lisp/net/tramp-smb.el')
0 files changed, 0 insertions, 0 deletions