[OpenAFS] openafs-1.0.2 on SuperSPARC (Solaris 8 32Bit)

Dominic Lai dominic@cs.ust.hk
Thu, 1 Feb 2001 14:45:46 +0800


I have just tried this patch upon openafs-1.0.2 on my SS20 running Solaris
8.  It works!  Thanks.

Dominic

P.S. : compiler used:  Forte C 6.0 update 1


On Wed, Jan 31, 2001 at 07:05:13PM -0500, Chas Williams (chas@cmf.nrl.navy.mil) wrote:
> i think i finally tracked this down, looking at the diff between
> my version of src/afs/VNOPS/afs_vnop_readdir.c and the openafs 1.0.2
> version, i see:
> 
> --- afs_vnop_readdir.c.000      Wed Jan 31 18:45:41 2001
> +++ afs_vnop_readdir.c  Wed Jan 31 18:43:35 2001
> @@ -641,7 +635,7 @@
>                 }
>  #else /* AFS_HPUX_ENV */
>                 code = afs_readdir_move(ode, avc, auio, o_slen,
> -#if defined(AFS_SUN5_ENV)
> +#ifdef defined(AFS_SUN5_ENV)
>                                         len, origOffset);
>  #else
>                                         auio->afsio_resid, origOffset);
> 
> it looks like the 'ifdef defined' was cleaned up at some point and
> that this is causing the trouble with solaris8.  if i change to
> 
> #if 0 /* was #ifdef defined(AFS_SUN5_ENV) */
>                                         len, origOffset);
> #else
>                                         auio->afsio_resid, origOffset);
> 
> 1.0.2 runs fine under solaris8.  strange.  looks like this was in the original
> openafs releases and i sort of preservred it.
> 
> people should try this fix and let me know if i am nuts.
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo.cgi/openafs-info

-- 
Dominic Lai, Assistant Computer Officer, CS System Group 
Computer Science Department, The Hong Kong University of Science & Technology 
Home Page : http://www.cs.ust.hk/~dominic  
PGP Public Key: ftp://ftp.cs.ust.hk/pub/cssystem/dominic/pgp.pubkey.asc
Mojo: Rock N' Roll Forever
Any unsolicited mails will be reported to <rbl.maps.vix.com> to have
the corresponding mail domains added to the blackhole list.