diff options
author | Jeremy Allison <jra@samba.org> | 2005-11-22 06:07:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:29 -0500 |
commit | e98a396b768f2966306c8c4a3f6037e3a7547af7 (patch) | |
tree | cd1bccd1aab0ee48dcaa12f490eb3cc6158fb118 | |
parent | ac66d7cf69ebce0fdf40c6c0808ae9120176ad8a (diff) | |
download | samba-e98a396b768f2966306c8c4a3f6037e3a7547af7.tar.gz samba-e98a396b768f2966306c8c4a3f6037e3a7547af7.tar.bz2 samba-e98a396b768f2966306c8c4a3f6037e3a7547af7.zip |
r11845: Removed error code list as it isn't correct for Linux.
Jeremy.
(This used to be commit bea6fa293e2c1ee85ae72dcee00db13cb1fe5bb1)
-rw-r--r-- | source3/lib/system.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c index 4b91fac13f..e9c13e6d07 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -1370,8 +1370,6 @@ int sys_dup2(int oldfd, int newfd) support for IRIX and (Net|Free)BSD also. Expand as other systems have them. ****************************************************************************/ -/* Possible error codes are: ENOATTR, ERANGE, ENOTSUP. From stat(2): - EBADF, ENOENT, ENOTDIR, ELOOP, EFAULT, EACCES, ENOMEM, ENAMETOOLONG. */ ssize_t sys_getxattr (const char *path, const char *name, void *value, size_t size) { #if defined(HAVE_GETXATTR) @@ -1651,8 +1649,6 @@ static ssize_t irix_attr_list(const char *path, int filedes, char *list, size_t #endif -/* Possible error codes are: ERANGE, ENOTSUP. From stat(2): - EBADF, ENOENT, ENOTDIR, ELOOP, EFAULT, EACCES, ENOMEM, ENAMETOOLONG. */ ssize_t sys_listxattr (const char *path, char *list, size_t size) { #if defined(HAVE_LISTXATTR) @@ -1701,8 +1697,6 @@ ssize_t sys_flistxattr (int filedes, char *list, size_t size) #endif } -/* Possible error codes are: ENOATTR, ENOTSUP. From stat(2): - EBADF, ENOENT, ENOTDIR, ELOOP, EFAULT, EACCES, ENOMEM, ENAMETOOLONG. */ int sys_removexattr (const char *path, const char *name) { #if defined(HAVE_REMOVEXATTR) @@ -1780,8 +1774,6 @@ int sys_fremovexattr (int filedes, const char *name) #define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */ #endif -/* Possible error codes are: EEXIST, ENOATTR, ENOSPC, EDQUOT, ENOTSUP. From - stat(2): EBADF, ENOENT, ENOTDIR, ELOOP, EFAULT, EACCES, ENOMEM, ENAMETOOLONG. */ int sys_setxattr (const char *path, const char *name, const void *value, size_t size, int flags) { #if defined(HAVE_SETXATTR) |