diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-01-02 18:29:24 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-01-02 18:29:24 +0000 |
commit | 172019c0ecbf4714047e4ec233eab37628731d2b (patch) | |
tree | cd9342b876490bd87674dc7eac6f339ad1f1f8ba | |
parent | 522ad1d6f72751ac4f531dc87cecd94581076dd4 (diff) | |
download | glibc-172019c0ecbf4714047e4ec233eab37628731d2b.tar glibc-172019c0ecbf4714047e4ec233eab37628731d2b.tar.gz glibc-172019c0ecbf4714047e4ec233eab37628731d2b.tar.bz2 glibc-172019c0ecbf4714047e4ec233eab37628731d2b.zip |
Fix MIPS bits/fcntl.h namespace (bug 17780).
sysdeps/unix/sysv/linux/mips/bits/fcntl.h has a structure field called
pad, which is in the user's namespace. This patch changes it to
__glibc_reserved0.
[BZ #17780]
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
[!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
__glibc_reserved0.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/bits/fcntl.h | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,10 @@ 2015-01-02 Joseph Myers <joseph@codesourcery.com> + [BZ #17780] + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock) + [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to + __glibc_reserved0. + * nptl/version.c (banner): Use single year in copyright notice. * NEWS: Update copyright dates. @@ -16,7 +16,7 @@ Version 2.21 17584, 17585, 17589, 17594, 17601, 17608, 17616, 17625, 17630, 17633, 17634, 17647, 17653, 17657, 17664, 17665, 17668, 17682, 17717, 17719, 17722, 17723, 17724, 17725, 17732, 17733, 17744, 17745, 17746, 17747, - 17775 + 17775, 17780 * i386 memcpy functions optimized with SSE2 unaligned load/store. diff --git a/sysdeps/unix/sysv/linux/mips/bits/fcntl.h b/sysdeps/unix/sysv/linux/mips/bits/fcntl.h index 61137c5907..80562831c0 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/mips/bits/fcntl.h @@ -84,7 +84,7 @@ struct flock #if ! defined __USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64 /* The 64-bit flock structure, used by the n64 ABI, and for 64-bit flock in o32 and n32, never has this field. */ - long int pad[4]; + long int __glibc_reserved0[4]; #endif }; typedef struct flock flock_t; |