svn commit: samba r16006 - in branches/SAMBA_4_0/source/ntvfs/posix: .

metze at samba.org metze at samba.org
Fri Jun 2 14:26:15 GMT 2006


Author: metze
Date: 2006-06-02 14:26:15 +0000 (Fri, 02 Jun 2006)
New Revision: 16006

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16006

Log:
only (f)getxattr returns ssize_t

metze
Modified:
   branches/SAMBA_4_0/source/ntvfs/posix/xattr_system.c


Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/xattr_system.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/xattr_system.c	2006-06-02 14:22:56 UTC (rev 16005)
+++ branches/SAMBA_4_0/source/ntvfs/posix/xattr_system.c	2006-06-02 14:26:15 UTC (rev 16006)
@@ -32,19 +32,19 @@
 {
 	return getxattr(path, name, value, size, 0, 0);
 }
-static ssize_t _wrap_fsetxattr(int fd, const char *name, void *value, size_t size, int flags)
+static int _wrap_fsetxattr(int fd, const char *name, void *value, size_t size, int flags)
 {
 	return fsetxattr(fd, name, value, size, 0, flags);
 }
-static ssize_t _wrap_setxattr(const char *path, const char *name, void *value, size_t size, int flags)
+static int _wrap_setxattr(const char *path, const char *name, void *value, size_t size, int flags)
 {
 	return setxattr(path, name, value, size, 0, flags);
 }
-static ssize_t _wrap_fremovexattr(int fd, const char *name)
+static int _wrap_fremovexattr(int fd, const char *name)
 {
 	return fremovexattr(fd, name, 0);
 }
-static ssize_t _wrap_removexattr(const char *path, const char *name)
+static int _wrap_removexattr(const char *path, const char *name)
 {
 	return removexattr(path, name, 0);
 }
@@ -65,22 +65,22 @@
 	errno = ENOTSUP;
 	return -1;
 }
-static ssize_t _none_fsetxattr(int fd, const char *name, void *value, size_t size, int flags)
+static int _none_fsetxattr(int fd, const char *name, void *value, size_t size, int flags)
 {
 	errno = ENOTSUP;
 	return -1;
 }
-static ssize_t _none_setxattr(const char *path, const char *name, void *value, size_t size, int flags)
+static int _none_setxattr(const char *path, const char *name, void *value, size_t size, int flags)
 {
 	errno = ENOTSUP;
 	return -1;
 }
-static ssize_t _none_fremovexattr(int fd, const char *name)
+static int _none_fremovexattr(int fd, const char *name)
 {
 	errno = ENOTSUP;
 	return -1;
 }
-static ssize_t _none_removexattr(const char *path, const char *name)
+static int _none_removexattr(const char *path, const char *name)
 {
 	errno = ENOTSUP;
 	return -1;



More information about the samba-cvs mailing list