diff --git a/Claunia.IO/ChangeLog b/Claunia.IO/ChangeLog index f0c25ab..4a0badf 100644 --- a/Claunia.IO/ChangeLog +++ b/Claunia.IO/ChangeLog @@ -1,3 +1,8 @@ +2015-05-03 Natalia Portillo + + * Interop/Linux/Interop.Linux.stat.cs: + Manpages are in octal, corrected typo. + 2015-05-03 Natalia Portillo * Claunia.IO.csproj: diff --git a/Claunia.IO/Interop/Linux/Interop.Linux.stat.cs b/Claunia.IO/Interop/Linux/Interop.Linux.stat.cs index fbdc98b..a67292d 100644 --- a/Claunia.IO/Interop/Linux/Interop.Linux.stat.cs +++ b/Claunia.IO/Interop/Linux/Interop.Linux.stat.cs @@ -191,91 +191,91 @@ internal static partial class Interop /// /// bit mask for the file type bit fields /// - S_IFMT = 0x0170000, + S_IFMT = 0xF000, /// /// socket /// - S_IFSOCK = 0x0140000, + S_IFSOCK = 0xC000, /// /// symbolic link /// - S_IFLNK = 0x0120000, + S_IFLNK = 0xA000, /// /// regular file /// - S_IFREG = 0x0100000, + S_IFREG = 0x8000, /// /// block device /// - S_IFBLK = 0x0060000, + S_IFBLK = 0x6000, /// /// directory /// - S_IFDIR = 0x0040000, + S_IFDIR = 0x4000, /// /// character device /// - S_IFCHR = 0x0020000, + S_IFCHR = 0x2000, /// /// FIFO /// - S_IFIFO = 0x0010000, + S_IFIFO = 0x1000, /// /// set-user-ID bit /// - S_ISUID = 0x0004000, + S_ISUID = 0x0800, /// /// set-group-ID bit /// - S_ISGID = 0x0002000, + S_ISGID = 0x0400, /// /// sticky bit (see below) /// - S_ISVTX = 0x0001000, + S_ISVTX = 0x0200, /// /// mask for file owner permissions /// - S_IRWXU = 0x00700, + S_IRWXU = 0x01C0, /// /// owner has read permission /// - S_IRUSR = 0x00400, + S_IRUSR = 0x0100, /// /// owner has write permission /// - S_IWUSR = 0x00200, + S_IWUSR = 0x0080, /// /// owner has execute permission /// - S_IXUSR = 0x00100, + S_IXUSR = 0x0040, /// /// mask for group permissions /// - S_IRWXG = 0x00070, + S_IRWXG = 0x0038, /// /// group has read permission /// - S_IRGRP = 0x00040, + S_IRGRP = 0x0020, /// /// group has write permission /// - S_IWGRP = 0x00020, + S_IWGRP = 0x0010, /// /// group has execute permission /// - S_IXGRP = 0x00010, + S_IXGRP = 0x0008, /// /// mask for permissions for others (not in group) /// - S_IRWXO = 0x00007, + S_IRWXO = 0x0007, /// /// others have read permission /// - S_IROTH = 0x00004, + S_IROTH = 0x0004, /// /// others have write permission /// - S_IWOTH = 0x00002, + S_IWOTH = 0x002, /// /// others have execute permission ///