Re: [E-devel] E SVN: raster IN trunk/eina/src: include lib

2010-10-30 Thread The Rasterman
On Sat, 30 Oct 2010 21:47:31 +0200 Joerg Sonnenberger said: > On Sat, Oct 30, 2010 at 01:24:31PM +0200, Cedric BAIL wrote: > > In fact lstat will do the trick. > > d_ino / d_fileno exist for the same reasons as d_type -- to avoid having > to stat in first place. but what reasons do you need the

Re: [E-devel] E SVN: raster IN trunk/eina/src: include lib

2010-10-30 Thread Joerg Sonnenberger
On Sat, Oct 30, 2010 at 01:24:31PM +0200, Cedric BAIL wrote: > In fact lstat will do the trick. d_ino / d_fileno exist for the same reasons as d_type -- to avoid having to stat in first place. Joerg -- Nokia and AT&T pre

Re: [E-devel] E SVN: raster IN trunk/eina/src: include lib

2010-10-30 Thread Vincent Torri
On Sat, 30 Oct 2010, Gustavo Sverzut Barbieri wrote: On Sat, Oct 30, 2010 at 7:35 AM, Carsten Haitzler wrote: On Sat, 30 Oct 2010 11:25:05 +0200 (CEST) Vincent Torri said: On Sat, 30 Oct 2010, Carsten Haitzler (The Rasterman) wrote: On Sat, 30 Oct 2010 09:14:39 +0200 (CEST) Vincent To

Re: [E-devel] E SVN: raster IN trunk/eina/src: include lib

2010-10-30 Thread The Rasterman
On Sat, 30 Oct 2010 11:03:34 -0200 Gustavo Sverzut Barbieri said: > On Sat, Oct 30, 2010 at 7:35 AM, Carsten Haitzler > wrote: > > On Sat, 30 Oct 2010 11:25:05 +0200 (CEST) Vincent Torri > > said: > > > >> > >> > >> On Sat, 30 Oct 2010, Carsten Haitzler (The Rasterman) wrote: > >> > >> > On Sat

Re: [E-devel] E SVN: raster IN trunk/eina/src: include lib

2010-10-30 Thread Gustavo Sverzut Barbieri
On Sat, Oct 30, 2010 at 7:35 AM, Carsten Haitzler wrote: > On Sat, 30 Oct 2010 11:25:05 +0200 (CEST) Vincent Torri > said: > >> >> >> On Sat, 30 Oct 2010, Carsten Haitzler (The Rasterman) wrote: >> >> > On Sat, 30 Oct 2010 09:14:39 +0200 (CEST) Vincent Torri >> > said: >> > >> >> On Fri, 29 Oct

Re: [E-devel] E SVN: raster IN trunk/eina/src: include lib

2010-10-30 Thread Cedric BAIL
On Sat, Oct 30, 2010 at 1:38 PM, Vincent Torri wrote: > On Sat, 30 Oct 2010, Cedric BAIL wrote: >>> I was planning to use it to avoid loop. But maybe there is a better >>> solution. >> >> In fact lstat will do the trick. > > lstat is for links... and does not exist on Windows. So detecting recurs

Re: [E-devel] E SVN: raster IN trunk/eina/src: include lib

2010-10-30 Thread Vincent Torri
On Sat, 30 Oct 2010, Cedric BAIL wrote: >> I was planning to use it to avoid loop. But maybe there is a better solution. > > In fact lstat will do the trick. lstat is for links... and does not exist on Windows. Vincent --

Re: [E-devel] E SVN: raster IN trunk/eina/src: include lib

2010-10-30 Thread Cedric BAIL
On Sat, Oct 30, 2010 at 12:23 PM, Cedric BAIL wrote: > On Sat, Oct 30, 2010 at 11:59 AM, Carsten Haitzler > wrote: >> On Sat, 30 Oct 2010 11:46:37 +0200 Cedric BAIL said: >> >>> On Sat, Oct 30, 2010 at 11:35 AM, Carsten Haitzler >>> wrote: >>> > On Sat, 30 Oct 2010 11:25:05 +0200 (CEST) Vincen

Re: [E-devel] E SVN: raster IN trunk/eina/src: include lib

2010-10-30 Thread Cedric BAIL
On Sat, Oct 30, 2010 at 11:59 AM, Carsten Haitzler wrote: > On Sat, 30 Oct 2010 11:46:37 +0200 Cedric BAIL said: > >> On Sat, Oct 30, 2010 at 11:35 AM, Carsten Haitzler >> wrote: >> > On Sat, 30 Oct 2010 11:25:05 +0200 (CEST) Vincent Torri >> > said: >> >> On Sat, 30 Oct 2010, Carsten Haitzler

Re: [E-devel] E SVN: raster IN trunk/eina/src: include lib

2010-10-30 Thread The Rasterman
On Sat, 30 Oct 2010 11:46:37 +0200 Cedric BAIL said: > On Sat, Oct 30, 2010 at 11:35 AM, Carsten Haitzler > wrote: > > On Sat, 30 Oct 2010 11:25:05 +0200 (CEST) Vincent Torri > > said: > >> On Sat, 30 Oct 2010, Carsten Haitzler (The Rasterman) wrote: > >> > >> > On Sat, 30 Oct 2010 09:14:39 +02

Re: [E-devel] E SVN: raster IN trunk/eina/src: include lib

2010-10-30 Thread Cedric BAIL
On Sat, Oct 30, 2010 at 11:35 AM, Carsten Haitzler wrote: > On Sat, 30 Oct 2010 11:25:05 +0200 (CEST) Vincent Torri > said: >> On Sat, 30 Oct 2010, Carsten Haitzler (The Rasterman) wrote: >> >> > On Sat, 30 Oct 2010 09:14:39 +0200 (CEST) Vincent Torri >> > said: >> > >> >> On Fri, 29 Oct 2010, E

Re: [E-devel] E SVN: raster IN trunk/eina/src: include lib

2010-10-30 Thread The Rasterman
On Sat, 30 Oct 2010 11:25:05 +0200 (CEST) Vincent Torri said: > > > On Sat, 30 Oct 2010, Carsten Haitzler (The Rasterman) wrote: > > > On Sat, 30 Oct 2010 09:14:39 +0200 (CEST) Vincent Torri > > said: > > > >> On Fri, 29 Oct 2010, Enlightenment SVN wrote: > >> > >>> Log: > >>> aaagh. dirent.

Re: [E-devel] E SVN: raster IN trunk/eina/src: include lib

2010-10-30 Thread Vincent Torri
On Sat, 30 Oct 2010, Carsten Haitzler (The Rasterman) wrote: > On Sat, 30 Oct 2010 09:14:39 +0200 (CEST) Vincent Torri > 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... s

Re: [E-devel] E SVN: raster IN trunk/eina/src: include lib

2010-10-30 Thread The Rasterman
On Sat, 30 Oct 2010 09:14:39 +0200 (CEST) Vincent Torri 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 e

Re: [E-devel] E SVN: raster IN trunk/eina/src: include lib

2010-10-30 Thread Vincent Torri
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_