diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-11-02 09:27:34 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2011-11-02 09:27:34 -0700 |
commit | bc8db248baddc8309372158378337fdf7877ad68 (patch) | |
tree | 3e164a04e23ed41c9e83f7ca550697bf1ff6229e | |
parent | d35dce5213b357c218e252cbcb7a853cdecfcb41 (diff) | |
download | glibc-bc8db248baddc8309372158378337fdf7877ad68.tar.gz glibc-bc8db248baddc8309372158378337fdf7877ad68.tar.xz glibc-bc8db248baddc8309372158378337fdf7877ad68.zip |
Fix _IOT_sgttyb definition.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | bits/ioctl-types.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 3b59f298c4..d132b0b9ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org> + + * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4. + 2011-11-01 Andreas Schwab <schwab@linux-m68k.org> * include/alloca.h (stackinfo_alloca_round): Define. diff --git a/bits/ioctl-types.h b/bits/ioctl-types.h index 58b78a6af3..661887f95b 100644 --- a/bits/ioctl-types.h +++ b/bits/ioctl-types.h @@ -1,5 +1,5 @@ /* Structure types for pre-termios terminal ioctls. Generic Unix version. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996,1997,2011 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 @@ -64,7 +64,7 @@ struct sgttyb }; #define _IOT_sgttyb /* Hurd ioctl type field. */ \ - _IOT (_IOTS (char), 6, _IOTS (short int), 1, 0, 0) + _IOT (_IOTS (char), 4, _IOTS (short int), 1, 0, 0) #if defined TIOCGWINSZ || defined TIOCSWINSZ /* Type of ARG for TIOCGWINSZ and TIOCSWINSZ requests. */ |