gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Extended Attributes


From: Amar S. Tumballi
Subject: Re: [Gluster-devel] Extended Attributes
Date: Tue, 13 May 2008 01:10:48 -0700

I used that on Mac OS X, but not sure on other systems. even for BSD we can
use it.

On Tue, May 13, 2008 at 1:06 AM, Anand Avati <address@hidden> wrote:

>
> There should be other thing if not d_off, we cant just remove it like
> > this. Because, if we remove it. it won't return at all.
> > Other than this, I am pretty sure i compiled 1.3.8 on bsd machine (on
> > paul arch's machine). Anyways, Thanks for the patch. But Iam thinking how i
> > can set that d_off thing.
> >
>
> A portable way of getting the offset from a DIR * is to use telldir() and
> not worry about how the offset is internally stored. some systems store it
> as dirent->d_off, some as dirent->seek_off etc. Infact even in the current
> code we should cleanup the #ifdef mess and just use telldir() for every
> platform.
>
> avati
>



-- 
Amar Tumballi
Gluster/GlusterFS Hacker
[bulde on #gluster/irc.gnu.org]
http://www.zresearch.com - Commoditizing Super Storage!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]