diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-07-24 08:28:57 -0400 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-08-06 14:31:54 -0400 |
commit | d4795e4a43e6f0c221bc5dc64c612206a21a177b (patch) | |
tree | 203f9cadce14bef4d0f48cf3cb9d4906c020431a /ChangeLog | |
parent | 27bb6dc0db1d0da548a0be3ec1aa33e2c25565cd (diff) | |
download | glibc-d4795e4a43e6f0c221bc5dc64c612206a21a177b.tar glibc-d4795e4a43e6f0c221bc5dc64c612206a21a177b.tar.gz glibc-d4795e4a43e6f0c221bc5dc64c612206a21a177b.tar.bz2 glibc-d4795e4a43e6f0c221bc5dc64c612206a21a177b.zip |
PowerPC: Fix termios definitions
This patch fixes the incorrect guard by __USE_MISC of struct winsize and
struct termio in powerpc termios header. Current states leads to build
failures if the program defines _XOPEN_SOURCE, but not _DEFAULT_SOURCE
or either _BSD_SOURCE or _SVID_SOURCE. Without any definition,
__USE_MISC will not be defined and neither the struct definitions.
This patch copies the default Linux ioctl-types.h by adjusting only the
character control field (c_cc) size in struct termio.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1,3 +1,22 @@ +2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize): + Move definition from termios.h. + (struct termio): Likewise. + (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS, + TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP, + N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964, + N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize): + Move definition to ioctl-types.h + (struct termio): Likewise. + (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS, + TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP, + N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964, + N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI): + Likewise. + 2014-08-05 Richard Henderson <rth@redhat.com> * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise |