On Wed, Jan 31, 2001 at 08:32:03PM -0500, Chas Williams wrote:
> more about the solaris8 'bug'.  looking at the 3.6 sources i see:
> 
> ...afs_vnop_readder.c...
> #ifdef  AFS_NEXT_ENV
>                                         auio->afsio_resid, origOffset, &treq);
> #elif defined(AFS_SUN5_ENV)
>                                         len, origOffset);
> #else
>                                         auio->afsio_resid, origOffset);
> #endif
> 
> pretty clever eh?  #ifdef/#elif?  most cpp's just silently ignore the
> #elif.  btw, from what i can see len will always be 0 (set at the top

"Most"?  Really?  Certainly both GCC's preprocessor and the current Sun
WorkShop preprocessor grock it.


Dan

/--------------------------------\  /--------------------------------\
|       Daniel Jacobowitz        |__|        SCS Class of 2002       |
|   Debian GNU/Linux Developer    __    Carnegie Mellon University   |
|         [EMAIL PROTECTED]         |  |       [EMAIL PROTECTED]      |
\--------------------------------/  \--------------------------------/
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo.cgi/openafs-devel

Reply via email to