From 3ceb0363d903fc76d1b30f0fadff74edc772754b Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Fri, 4 Jan 2002 00:11:21 +0000 Subject: 2002-01-04 Marcus Brinkmann * devio.c (bogus_speed_to_real_speed): Handle B57600, B115200 if they are defined. Reported by Diego Roversi . --- term/ChangeLog | 5 +++++ term/devio.c | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/term/ChangeLog b/term/ChangeLog index 8170243c..e31d4c37 100644 --- a/term/ChangeLog +++ b/term/ChangeLog @@ -1,3 +1,8 @@ +2002-01-04 Marcus Brinkmann + + * devio.c (bogus_speed_to_real_speed): Handle B57600, B115200 if + they are defined. Reported by Diego Roversi . + 2001-12-17 Roland McGrath * munge.c (input_character): Fix DISCARD character handling diff --git a/term/devio.c b/term/devio.c index e638c568..f1bdab2d 100644 --- a/term/devio.c +++ b/term/devio.c @@ -224,6 +224,14 @@ bogus_speed_to_real_speed (int bspeed) return 19200; case EXTB: return 38400; +#ifdef B57600 + case B57600: + return 57600; +#endif +#ifdef B115200 + case B115200: + return 115200; +#endif } } -- cgit v1.2.3