Annotation of /trunk/glibc/patches/glibc-2.18-xattr-compat-hack.patch
Parent Directory
|
Revision Log
Revision 2405 -
(hide annotations)
(download)
Mon Feb 10 13:17:32 2014 UTC (10 years, 4 months ago) by niro
File size: 737 byte(s)
Mon Feb 10 13:17:32 2014 UTC (10 years, 4 months ago) by niro
File size: 737 byte(s)
-xattr compat fix
1 | niro | 2405 | diff -Naur glibc-2.18-orig/misc/sys/xattr.h glibc-2.18/misc/sys/xattr.h |
2 | --- glibc-2.18-orig/misc/sys/xattr.h 2013-08-11 08:52:55.000000000 +1000 | ||
3 | +++ glibc-2.18/misc/sys/xattr.h 2014-01-07 15:45:50.533969040 +1000 | ||
4 | @@ -26,13 +26,8 @@ | ||
5 | |||
6 | /* The following constants should be used for the fifth parameter of | ||
7 | `*setxattr'. */ | ||
8 | -enum | ||
9 | -{ | ||
10 | - XATTR_CREATE = 1, /* set value, fail if attr already exists. */ | ||
11 | -#define XATTR_CREATE XATTR_CREATE | ||
12 | - XATTR_REPLACE = 2 /* set value, fail if attr does not exist. */ | ||
13 | -#define XATTR_REPLACE XATTR_REPLACE | ||
14 | -}; | ||
15 | +#define XATTR_CREATE 1 | ||
16 | +#define XATTR_REPLACE 2 | ||
17 | |||
18 | /* Set the attribute NAME of the file pointed to by PATH to VALUE (which | ||
19 | is SIZE bytes long). Return 0 on success, -1 for errors. */ |