mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Update.
2001-06-01 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is B4000000. (cfsetospeed): Likewise. Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>. 2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk> * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
This commit is contained in:
parent
371881fe91
commit
852d75f9d6
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
||||
2001-06-01 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
|
||||
B4000000.
|
||||
(cfsetospeed): Likewise.
|
||||
Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
|
||||
|
||||
2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||
|
||||
* misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
|
||||
|
||||
2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1992,93,94,95,96,97,98,99, 2000 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1992,93,94,95,96,97,98,99,2000,2001 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
|
||||
@ -196,7 +196,7 @@
|
||||
/* ISO C99 also allows to declare arrays as non-overlapping. The syntax is
|
||||
array_name[restrict]
|
||||
GCC 3.1 supports this. */
|
||||
#if __GNUC_PREREQ (3,1)
|
||||
#if __GNUC_PREREQ (3,1) && !defined __GNUG__
|
||||
# define __restrict_arr __restrict
|
||||
#else
|
||||
# ifdef __GNUC__
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user