[OpenAFS-devel] Re: OpenAFS 1.4.0-rc7 and Solaris 10
Joe Buehler
jbuehler@spirentcom.com
Thu, 13 Oct 2005 08:50:55 -0400
Loic Tortay wrote:
> Indeed, the code seems visibly wrong on Solaris 10:
> [...]
> struct afs_nfs_disp_tbl afs_acl3_disp_tbl[3] = {
> {afs_nfs2_null},
> {afs_acl3_getacl},
> {afs_acl3_setacl},
> #if defined(AFS_SUN510_ENV)
> {afs_acl3_getxattrdir},
> #endif
> };
> [...]
You should be able to just omit the array size:
> struct afs_nfs_disp_tbl afs_acl3_disp_tbl[] = {
The compiler will figure it out.
--
Joe Buehler