git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87755c6
)
Support an older AIX system that doesn't have ENOTSUP.
author
Wayne Davison
<wayned@samba.org>
Thu, 14 May 2009 18:23:38 +0000
(11:23 -0700)
committer
Wayne Davison
<wayned@samba.org>
Thu, 14 May 2009 18:23:38 +0000
(11:23 -0700)
lib/sysacls.c
patch
|
blob
|
history
diff --git
a/lib/sysacls.c
b/lib/sysacls.c
index 7334fd405ae4e2bd2fb244dd4fc0845a662b24c4..19d4d7ad36da3e4c99461d5daa98fa3cbb378518 100644
(file)
--- a/
lib/sysacls.c
+++ b/
lib/sysacls.c
@@
-1815,7
+1815,11
@@
SMB_ACL_T sys_acl_get_file( const char *path_p, SMB_ACL_TYPE_T type)
/* AIX has no DEFAULT */
if ( type == SMB_ACL_TYPE_DEFAULT ) {
+#ifdef ENOTSUP
errno = ENOTSUP;
+#else
+ errno = ENOSYS;
+#endif
return NULL;
}