summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-01-04 00:11:21 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-01-04 00:11:21 +0000
commit3ceb0363d903fc76d1b30f0fadff74edc772754b (patch)
treef1d4f77224d3c7c89a19d7d65b4246ccb2c393d2
parent2a553de988869ede2dd5358a50b17689af4b40e4 (diff)
2002-01-04 Marcus Brinkmann <marcus@gnu.org>
* devio.c (bogus_speed_to_real_speed): Handle B57600, B115200 if they are defined. Reported by Diego Roversi <diegor@tiscalinet.it>.
-rw-r--r--term/ChangeLog5
-rw-r--r--term/devio.c8
2 files changed, 13 insertions, 0 deletions
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 <marcus@gnu.org>
+
+ * devio.c (bogus_speed_to_real_speed): Handle B57600, B115200 if
+ they are defined. Reported by Diego Roversi <diegor@tiscalinet.it>.
+
2001-12-17 Roland McGrath <roland@frob.com>
* 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
}
}