From 852d75f9d618a77697d5869d188511740f992793 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 1 Jun 2001 08:17:11 +0000 Subject: Update. 2001-06-01 Andreas Jaeger * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is B4000000. (cfsetospeed): Likewise. Reported by Lukasz Trabinski . 2001-05-31 Joseph S. Myers * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++. --- sysdeps/unix/sysv/linux/speed.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/sysv/linux/speed.c b/sysdeps/unix/sysv/linux/speed.c index 1244eb4c01..075c01de3f 100644 --- a/sysdeps/unix/sysv/linux/speed.c +++ b/sysdeps/unix/sysv/linux/speed.c @@ -1,5 +1,5 @@ /* `struct termios' speed frobnication functions. Linux version. - Copyright (C) 1991, 92, 93, 95, 96, 97, 98 Free Software Foundation, Inc. + Copyright (C) 1991, 92, 93, 95, 96, 97, 98, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -60,7 +60,7 @@ cfsetospeed (termios_p, speed) speed_t speed; { if ((speed & ~CBAUD) != 0 - && (speed < B57600 || speed > B460800)) + && (speed < B57600 || speed > B4000000)) { __set_errno (EINVAL); return -1; @@ -82,7 +82,7 @@ cfsetispeed (termios_p, speed) speed_t speed; { if ((speed & ~CBAUD) != 0 - && (speed < B57600 || speed > B460800)) + && (speed < B57600 || speed > B4000000)) { __set_errno (EINVAL); return -1; -- cgit v1.2.3