Skip to content

Commit

Permalink
S390: Fix namespace violation in struct stat (BZ #16714).
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Liebler authored and Andreas Krebbel committed Mar 24, 2014
1 parent 26011b5 commit 5093612
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>

[BZ #16714]
* sysdeps/unix/sysv/linux/s390/bits/stat.h
(struct stat): Rename member pad0 to __glibc_reserved0.

2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>

[BZ #16712]
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/unix/sysv/linux/s390/bits/stat.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ struct stat
__mode_t st_mode; /* File mode. */
__uid_t st_uid; /* User ID of the file's owner. */
__gid_t st_gid; /* Group ID of the file's group.*/
int pad0;
int __glibc_reserved0;
__dev_t st_rdev; /* Device number, if device. */
__off_t st_size; /* Size of file, in bytes. */
#ifdef __USE_XOPEN2K8
Expand Down Expand Up @@ -152,7 +152,7 @@ struct stat64
__mode_t st_mode; /* File mode. */
__uid_t st_uid; /* User ID of the file's owner. */
__gid_t st_gid; /* Group ID of the file's group.*/
int pad0;
int __glibc_reserved0;
__dev_t st_rdev; /* Device number, if device. */
__off_t st_size; /* Size of file, in bytes. */
# ifdef __USE_XOPEN2K8
Expand Down

0 comments on commit 5093612

Please sign in to comment.