This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Fix MIPS bits/fcntl.h namespace (bug 17780) [committed]
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Fri, 2 Jan 2015 18:32:30 +0000
- Subject: Fix MIPS bits/fcntl.h namespace (bug 17780) [committed]
- Authentication-results: sourceware.org; auth=none
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.
Committed.
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.
diff --git a/sysdeps/unix/sysv/linux/mips/bits/fcntl.h b/sysdeps/unix/sysv/linux/mips/bits/fcntl.h
index 61137c5..8056283 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;
--
Joseph S. Myers
joseph@codesourcery.com