Cygwin: export XATTR_{NAME,SIZE,LIST}_MAX
These are used for example by CPython. Signed-off-by: Philippe Cerfon <philcerf@gmail.com> Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
80ff7bc26c
commit
538b29a8da
|
@ -56,4 +56,11 @@ details. */
|
|||
#define __PATH_MAX 4096
|
||||
#define __PIPE_BUF 4096
|
||||
|
||||
/* XATTR_NAME_MAX is the maximum XATTR name length excluding the null
|
||||
* terminator. Since only XATTRs in the `user' namespace are allowed and the
|
||||
* `user.' prefix is not stored, the maximum is increased by 5. */
|
||||
#define XATTR_NAME_MAX 260
|
||||
#define XATTR_SIZE_MAX 65536
|
||||
#define XATTR_LIST_MAX 65536
|
||||
|
||||
#endif /* _CYGWIN_LIMITS_H__ */
|
||||
|
|
Loading…
Reference in New Issue