This is the mail archive of the ecos-devel@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Changes to isoinfra/stat.h broke linux/stat.h


The recent changes to 'packages/isoinfra/current/include/sys/stat.h' broke
'packages/compat/linux/current/include/linux/stat.h'.  Also the definitions
for '__stat_mode_LNK' and '__stat_mode_SOCK' conflicted with the
definitions for 'S_IRUSR' and 'S_IWUSR'.  I propose these patches for both
stat.h files.  The biggest change is that the file types are enumerated
values rather than bitmaps.  Since file types are mutually exclusive, the
bitmap is the wrong data structure to use.

Michael Checky
(See attached file: stat.pat)

Attachment: stat.pat
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]