On Sat, Oct 30, 2010 at 12:23 PM, Cedric BAIL <cedric.b...@free.fr> wrote:
> On Sat, Oct 30, 2010 at 11:59 AM, Carsten Haitzler <ras...@rasterman.com> 
> wrote:
>> On Sat, 30 Oct 2010 11:46:37 +0200 Cedric BAIL <cedric.b...@free.fr> said:
>>
>>> On Sat, Oct 30, 2010 at 11:35 AM, Carsten Haitzler <ras...@rasterman.com>
>>> wrote:
>>> > On Sat, 30 Oct 2010 11:25:05 +0200 (CEST) Vincent Torri
>>> > <vto...@univ-evry.fr> said:
>>> >> On Sat, 30 Oct 2010, Carsten Haitzler (The Rasterman) wrote:
>>> >>
>>> >> > On Sat, 30 Oct 2010 09:14:39 +0200 (CEST) Vincent Torri
>>> >> > <vto...@univ-evry.fr> said:
>>> >> >
>>> >> >> On Fri, 29 Oct 2010, Enlightenment SVN wrote:
>>> >> >>
>>> >> >>> Log:
>>> >> >>>  aaagh. dirent... bad! too many things in dirent that are not 
>>> >> >>> portable
>>> >> >>>  - d_type for example... so put that into the direct_info struct and
>>> >> >>>  handle the compat in eina.
>>> >> >>
>>> >> >>> +#ifdef _DIRENT_HAVE_D_NAMLEN
>>> >> >>
>>> >> >> wouldn't is be better to test if d_namlen or d_type are available in
>>> >> >> configure.ac ?
>>> >> >
>>> >> > that's what that #ifdef does... the system defines those if it has the
>>> >> > extended fields. whats more a quesrtion is.. shoudl we remove dirent
>>> >> > struct from the eina struct? i don't like that being there.
>>> >>
>>> >> yes, we should (must) remove it.
>>> >
>>> > i agree with you - i'm waiting for someone to make a good case for not
>>> > doing it (especially now i moved the d_type info into the eina info struct
>>> > that always works).
>>>
>>> I think we should also move the d_ino info into eina info. But i agree
>>> we should remove the dirent struct.
>>
>> really? what do you really need the ino for.. commonly? (u can always stat 
>> the
>> file again to get it).
>>
>
> I was planning to use it to avoid loop. But maybe there is a better solution.

In fact lstat will do the trick.
-- 
Cedric BAIL

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to