Perhaps it's only present on some architectures, and not on others.
Seems to me that something similar to the dummy define I did would be
needed, but possibly in a big ifdef to check and see if it's defined or
not.

I just checked, looks like it is defined on FBSD but not on Linux.
Haven't looked at solaris or hpux yet. So, probably something that
defines it in certain cases, and not in others would be worthwhile. 

Anyone interested in throwing together an autoconf check for struct buf
being known?

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  [EMAIL PROTECTED]
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, March 13, 2002 9:31 AM
> To: Neulinger, Nathan
> Subject: Re: [OpenAFS-devel] "struct buf" in src/afs (libafs/libuafs)
> 
> 
> Hm.  There really is a "struct buf" in the kernel, defined in 
> some file
> like /usr/include/sys/buf.h (on some kernels).  It's probably pretty
> important for the cache manager to run on the client side, to use the
> kernel version as opposed to a dummy version.
> 
>               Craig
> 
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to