mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03: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:
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>
|
2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
|
* 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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
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
|
/* ISO C99 also allows to declare arrays as non-overlapping. The syntax is
|
||||||
array_name[restrict]
|
array_name[restrict]
|
||||||
GCC 3.1 supports this. */
|
GCC 3.1 supports this. */
|
||||||
#if __GNUC_PREREQ (3,1)
|
#if __GNUC_PREREQ (3,1) && !defined __GNUG__
|
||||||
# define __restrict_arr __restrict
|
# define __restrict_arr __restrict
|
||||||
#else
|
#else
|
||||||
# ifdef __GNUC__
|
# ifdef __GNUC__
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* `struct termios' speed frobnication functions. Linux version.
|
/* `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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -60,7 +60,7 @@ cfsetospeed (termios_p, speed)
|
|||||||
speed_t speed;
|
speed_t speed;
|
||||||
{
|
{
|
||||||
if ((speed & ~CBAUD) != 0
|
if ((speed & ~CBAUD) != 0
|
||||||
&& (speed < B57600 || speed > B460800))
|
&& (speed < B57600 || speed > B4000000))
|
||||||
{
|
{
|
||||||
__set_errno (EINVAL);
|
__set_errno (EINVAL);
|
||||||
return -1;
|
return -1;
|
||||||
@ -82,7 +82,7 @@ cfsetispeed (termios_p, speed)
|
|||||||
speed_t speed;
|
speed_t speed;
|
||||||
{
|
{
|
||||||
if ((speed & ~CBAUD) != 0
|
if ((speed & ~CBAUD) != 0
|
||||||
&& (speed < B57600 || speed > B460800))
|
&& (speed < B57600 || speed > B4000000))
|
||||||
{
|
{
|
||||||
__set_errno (EINVAL);
|
__set_errno (EINVAL);
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user