svn commit: samba r11845 - in branches/SAMBA_3_0/source/lib: .
jra at samba.org
jra at samba.org
Tue Nov 22 06:07:26 GMT 2005
Author: jra
Date: 2005-11-22 06:07:26 +0000 (Tue, 22 Nov 2005)
New Revision: 11845
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11845
Log:
Removed error code list as it isn't correct for Linux.
Jeremy.
Modified:
branches/SAMBA_3_0/source/lib/system.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/system.c
===================================================================
--- branches/SAMBA_3_0/source/lib/system.c 2005-11-22 06:07:19 UTC (rev 11844)
+++ branches/SAMBA_3_0/source/lib/system.c 2005-11-22 06:07:26 UTC (rev 11845)
@@ -1370,8 +1370,6 @@
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 @@
#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 @@
#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 @@
#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)
More information about the samba-cvs
mailing list