OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efc16ff
)
* termios.cc (setspeed): Support new baud rates introduced 2007-02-05.
author
corinna
<corinna>
Wed, 26 Sep 2007 08:57:34 +0000
(08:57 +0000)
committer
corinna
<corinna>
Wed, 26 Sep 2007 08:57:34 +0000
(08:57 +0000)
winsup/cygwin/ChangeLog
patch
|
blob
|
history
winsup/cygwin/termios.cc
patch
|
blob
|
history
diff --git
a/winsup/cygwin/ChangeLog
b/winsup/cygwin/ChangeLog
index
85e3942
..
b30e468
100644
(file)
--- a/
winsup/cygwin/ChangeLog
+++ b/
winsup/cygwin/ChangeLog
@@
-1,3
+1,7
@@
+2007-09-26 Corinna Vinschen <corinna@vinschen.de>
+
+ * termios.cc (setspeed): Support new baud rates introduced 2007-02-05.
+
2007-09-20 Corinna Vinschen <corinna@vinschen.de>
* ntdll.h (STATUS_OBJECT_NAME_INVALID): Define.
diff --git
a/winsup/cygwin/termios.cc
b/winsup/cygwin/termios.cc
index
9850568
..
b99f322
100644
(file)
--- a/
winsup/cygwin/termios.cc
+++ b/
winsup/cygwin/termios.cc
@@
-274,6
+274,16
@@
setspeed (speed_t &set_speed, speed_t from_speed)
case B128000:
case B230400:
case B256000:
+ case B460800:
+ case B500000:
+ case B576000:
+ case B921600:
+ case B1000000:
+ case B1152000:
+ case B1500000:
+ case B2000000:
+ case B2500000:
+ case B3000000:
set_speed = from_speed;
res = 0;
break;