svn commit: samba r18016 - in branches/SAMBA_3_0/source/lib: .
vlendec at samba.org
vlendec at samba.org
Sun Sep 3 08:16:25 GMT 2006
Author: vlendec
Date: 2006-09-03 08:16:25 +0000 (Sun, 03 Sep 2006)
New Revision: 18016
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18016
Log:
OpenBSD apparently does not have ENOTSUP
Modified:
branches/SAMBA_3_0/source/lib/sysacls.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/sysacls.c
===================================================================
--- branches/SAMBA_3_0/source/lib/sysacls.c 2006-09-03 03:46:07 UTC (rev 18015)
+++ branches/SAMBA_3_0/source/lib/sysacls.c 2006-09-03 08:16:25 UTC (rev 18016)
@@ -548,34 +548,54 @@
SMB_ACL_T sys_acl_get_file(vfs_handle_struct *handle,
const char *path_p, SMB_ACL_TYPE_T type)
{
+#ifdef ENOTSUP
errno = ENOTSUP;
+#else
+ errno = ENOSYS;
+#endif
return NULL;
}
SMB_ACL_T sys_acl_get_fd(vfs_handle_struct *handle, files_struct *fsp, int fd)
{
+#ifdef ENOTSUP
errno = ENOTSUP;
+#else
+ errno = ENOSYS;
+#endif
return NULL;
}
int sys_acl_set_file(vfs_handle_struct *handle,
const char *name, SMB_ACL_TYPE_T type, SMB_ACL_T acl_d)
{
+#ifdef ENOTSUP
errno = ENOTSUP;
+#else
+ errno = ENOSYS;
+#endif
return -1;
}
int sys_acl_set_fd(vfs_handle_struct *handle, files_struct *fsp,
int fd, SMB_ACL_T acl_d)
{
+#ifdef ENOTSUP
errno = ENOTSUP;
+#else
+ errno = ENOSYS;
+#endif
return -1;
}
int sys_acl_delete_def_file(vfs_handle_struct *handle,
const char *path)
{
+#ifdef ENOTSUP
errno = ENOTSUP;
+#else
+ errno = ENOSYS;
+#endif
return -1;
}
More information about the samba-cvs
mailing list