diff options
author | Liubov Dmitrieva <liubov.dmitrieva@intel.com> | 2012-12-17 13:44:21 +0400 |
---|---|---|
committer | Liubov Dmitrieva <ldmitrie@sourceware.org> | 2013-10-23 19:07:35 +0400 |
commit | f1079a9d27c2c91206f707f4e6b332752cba39d2 (patch) | |
tree | 94442a144caaa60e6087da8758a499a9031bffaa /io | |
parent | 1ad69ea0d84ca18e834146032178d827ce928729 (diff) | |
download | glibc-f1079a9d27c2c91206f707f4e6b332752cba39d2.tar.gz glibc-f1079a9d27c2c91206f707f4e6b332752cba39d2.tar.xz glibc-f1079a9d27c2c91206f707f4e6b332752cba39d2.zip |
Add attribute __bnd_variable_size to make using flexible size arrays Intel MPX complient.
Diffstat (limited to 'io')
-rw-r--r-- | io/fts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io/fts.h b/io/fts.h index 0a070ba8dc..93f94f8875 100644 --- a/io/fts.h +++ b/io/fts.h @@ -116,7 +116,7 @@ typedef struct _ftsent { u_short fts_instr; /* fts_set() instructions */ struct stat *fts_statp; /* stat(2) information */ - char fts_name[1]; /* file name */ + char fts_name[1] __attribute__((bnd_variable_size)); /* file name */ } FTSENT; __BEGIN_DECLS |