mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Fix MIPS TIOCSER_TEMT namespace (bug 17782).
sysdeps/unix/sysv/linux/mips/bits/termios.h defines TIOCSER_TEMT unconditionally, but it's in the user's namespace. This patch conditions it on __USE_MISC, as on powerpc. I've filed bug 17783 for the residual inconsistency in conditions on this macro (sparc defines it for __USE_GNU only). [BZ #17782] * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT): Condition macro definition on [__USE_MISC].
This commit is contained in:
@ -1,5 +1,9 @@
|
|||||||
2015-01-02 Joseph Myers <joseph@codesourcery.com>
|
2015-01-02 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
[BZ #17782]
|
||||||
|
* sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
|
||||||
|
Condition macro definition on [__USE_MISC].
|
||||||
|
|
||||||
[BZ #17781]
|
[BZ #17781]
|
||||||
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h
|
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h
|
||||||
(struct sigaction): Change type of sa_flags field to int.
|
(struct sigaction): Change type of sa_flags field to int.
|
||||||
|
2
NEWS
2
NEWS
@ -16,7 +16,7 @@ Version 2.21
|
|||||||
17584, 17585, 17589, 17594, 17601, 17608, 17616, 17625, 17630, 17633,
|
17584, 17585, 17589, 17594, 17601, 17608, 17616, 17625, 17630, 17633,
|
||||||
17634, 17647, 17653, 17657, 17664, 17665, 17668, 17682, 17717, 17719,
|
17634, 17647, 17653, 17657, 17664, 17665, 17668, 17682, 17717, 17719,
|
||||||
17722, 17723, 17724, 17725, 17732, 17733, 17744, 17745, 17746, 17747,
|
17722, 17723, 17724, 17725, 17732, 17733, 17744, 17745, 17746, 17747,
|
||||||
17775, 17780, 17781
|
17775, 17780, 17781, 17782
|
||||||
|
|
||||||
* i386 memcpy functions optimized with SSE2 unaligned load/store.
|
* i386 memcpy functions optimized with SSE2 unaligned load/store.
|
||||||
|
|
||||||
|
@ -197,8 +197,10 @@ struct termios
|
|||||||
# define EXTPROC 0200000
|
# define EXTPROC 0200000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __USE_MISC
|
||||||
/* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */
|
/* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */
|
||||||
#define TIOCSER_TEMT 0x01 /* Transmitter physically empty */
|
# define TIOCSER_TEMT 0x01 /* Transmitter physically empty */
|
||||||
|
#endif
|
||||||
|
|
||||||
/* tcflow() and TCXONC use these */
|
/* tcflow() and TCXONC use these */
|
||||||
#define TCOOFF 0 /* Suspend output. */
|
#define TCOOFF 0 /* Suspend output. */
|
||||||
|
Reference in New Issue
Block a user