xffm: Image Preview

edscott wilson garcia edscott at imp.mx
Thu Oct 30 15:12:46 CET 2003


On Thu, 2003-10-30 at 01:39, Danny Milosavljevic wrote:
> Hi!
> 
> > > 
> > > btw, in modules_export/mime.c, what's S_IFWHT ? I don't have that O_o
> > > 
> > 
> > >from struct stat.st_mode:
> >    #define S_IFREG  0100000  /* regular */
> >    #define S_IFLNK  0120000  /* symbolic link */
> >    #define S_IFSOCK 0140000  /* socket */
> >    #define S_IFWHT  0160000  /* whiteout */
> > 
> > I have no idea what it is, but I only want to determine mime type by
> > magic rules on regular files. Since I do a stat instead of lstat, I
> > don't have to worry about S_IFLNK.
> 
> Well yeah, but my linux 2.6.0-test & glibc 2.3 does not seem to have S_IFWHT
> ... I'll check again when I get home to make sure...
> 

I now put the S_IFWHT within a "#ifdef S_IFWHT" so there should be no
problem anyway.

regards

Edscott

> > 
> > regards,
> > 
> > Edscott
> 
> cheers,
>    Danny




More information about the Xfce4-dev mailing list