From: Wayne Davison Date: Thu, 14 May 2009 18:23:38 +0000 (-0700) Subject: Support an older AIX system that doesn't have ENOTSUP. X-Git-Tag: v3.1.0pre1~370 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=134f97c9cc42560b888c4bbdaeab4cc338978832;p=thirdparty%2Frsync.git Support an older AIX system that doesn't have ENOTSUP. --- diff --git a/lib/sysacls.c b/lib/sysacls.c index 7334fd40..19d4d7ad 100644 --- 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; }